From a8c523d98b7dc18eae973b70e7743e8551dc09fd Mon Sep 17 00:00:00 2001 From: Oswaldo Ferreira Date: Thu, 22 Feb 2018 13:53:35 -0300 Subject: Move project presenter instance creation to controller --- app/controllers/projects_controller.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/controllers/projects_controller.rb') 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 -- cgit v1.2.1