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