From 13f63d4c2a7de4b6b3e46a29dee53e7806f2dcbb Mon Sep 17 00:00:00 2001 From: manson Date: Fri, 8 Aug 2014 18:05:13 +0800 Subject: [PATCH] remove page from dashboard most_visted --- app/controllers/admin/dashboards_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/dashboards_controller.rb b/app/controllers/admin/dashboards_controller.rb index 102ed76..ed2d7a1 100644 --- a/app/controllers/admin/dashboards_controller.rb +++ b/app/controllers/admin/dashboards_controller.rb @@ -11,7 +11,7 @@ class Admin::DashboardsController < OrbitBackendController check_backend_openness @module_app_contents, @module_app_contents_total = get_module_app_count('bulletin', 'page_context', 'web_link') @recent_updated = get_recently_updated('bulletin', 'page_context', 'web_link') - @most_visited = get_most_visited('bulletin', 'page_context','page') + @most_visited = get_most_visited('bulletin', 'page_context') end def reload_all_content @@ -22,7 +22,7 @@ class Admin::DashboardsController < OrbitBackendController end def reload_most_visited - @most_visited = get_most_visited('bulletin', 'page_context','page') + @most_visited = get_most_visited('bulletin', 'page_context') respond_to do |format| format.js { render 'reload', locals: {div_id: 'most_visited'} } end