Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Maes <jaspermaes.jm@gmail.com>2018-06-20 09:53:49 +0300
committerJasper Maes <jaspermaes.jm@gmail.com>2018-06-20 11:59:34 +0300
commitce30d14be5d9a403537a83dc005bee10e9825cea (patch)
tree72396689e7552f5e72512fe93bbd1f8fd1efceb7 /app/controllers/dashboard_controller.rb
parentf7b59b9f14014aab7d4d3e23e3565829d028c870 (diff)
Rails5 fix expected: 0 times with any arguments received: 1 time with arguments: DashboardController
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r--app/controllers/dashboard_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 68d328fa797..ff133001b84 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -54,7 +54,7 @@ class DashboardController < Dashboard::ApplicationController
return unless @no_filters_set
respond_to do |format|
- format.html
+ format.html { render }
format.atom { head :bad_request }
end
end