diff --git a/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee b/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee index 167e149b0..454087cf7 100644 --- a/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee +++ b/app/assets/javascripts/app/controllers/_dashboard/activity_stream.js.coffee @@ -21,7 +21,7 @@ class App.DashboardActivityStream extends App.Controller type: 'GET' url: @apiPath + '/activity_stream' data: { - limit: 8 + limit: @limit || 8 } processData: true success: (data) => diff --git a/app/assets/javascripts/app/controllers/dashboard.js.coffee b/app/assets/javascripts/app/controllers/dashboard.js.coffee index f797d232e..009b71b1b 100644 --- a/app/assets/javascripts/app/controllers/dashboard.js.coffee +++ b/app/assets/javascripts/app/controllers/dashboard.js.coffee @@ -33,17 +33,17 @@ class Index extends App.ControllerContent activity_stream: { controller: App.DashboardActivityStream, params: { - limit: 8, - }, - }, - rss_atom: { - controller: App.DashboardRss, - params: { - head: 'Heise ATOM', - url: 'http://www.heise.de/newsticker/heise-atom.xml', - limit: 5, + limit: 20, }, }, +# rss_atom: { +# controller: App.DashboardRss, +# params: { +# head: 'Heise ATOM', +# url: 'http://www.heise.de/newsticker/heise-atom.xml', +# limit: 5, +# }, +# }, # rss_rdf: { # controller: App.DashboardRss, # params: { @@ -52,10 +52,9 @@ class Index extends App.ControllerContent # limit: 5, # }, # }, - - recent_viewed: { - controller: App.DashboardRecentViewed, - } +# recent_viewed: { +# controller: App.DashboardRecentViewed, +# } } }