Update dashboards_controller.rb