diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-02-22 13:53:35 -0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-02-22 13:59:14 -0300 |
commit | a8c523d98b7dc18eae973b70e7743e8551dc09fd (patch) | |
tree | af85d53868c7ed0317c481447499d084ca2811f2 /app/controllers/projects_controller.rb | |
parent | dcac35b48487bb18fb5d9e59dcd3690627a20bbf (diff) | |
download | gitlab-ce-a8c523d98b7dc18eae973b70e7743e8551dc09fd.tar.gz |
Move project presenter instance creation to controller
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 0370edc6e20..d9aa95fcb3d 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -114,6 +114,8 @@ class ProjectsController < Projects::ApplicationController respond_to do |format| format.html do @notification_setting = current_user.notification_settings_for(@project) if current_user + @project = @project.present(current_user: current_user) + render_landing_page end |