diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-10 21:52:25 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-27 20:20:18 -0200 |
commit | aeb9db6753cfdd56f82d80c0e2c01f63d65b705d (patch) | |
tree | 07dd8fea47384355ae52e6943bd15267b4765ee3 /app/controllers/dashboard_controller.rb | |
parent | ac66268443b05029cbc45cc358f62b764f1ff165 (diff) | |
download | gitlab-ce-aeb9db6753cfdd56f82d80c0e2c01f63d65b705d.tar.gz |
Present group and dashboard MR list without grouping by project
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r-- | app/controllers/dashboard_controller.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 4dda4e51f6a..79d420a32d3 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -4,6 +4,7 @@ class DashboardController < Dashboard::ApplicationController before_action :event_filter, only: :activity before_action :projects, only: [:issues, :merge_requests] + before_action :set_show_full_reference, only: [:issues, :merge_requests] respond_to :html @@ -34,4 +35,8 @@ class DashboardController < Dashboard::ApplicationController @events = @event_filter.apply_filter(@events).with_associations @events = @events.limit(20).offset(params[:offset] || 0) end + + def set_show_full_reference + @show_full_reference = true + end end |