Skip to content
Snippets Groups Projects
Commit a8c523d9 authored by Oswaldo Ferreir's avatar Oswaldo Ferreir
Browse files

Move project presenter instance creation to controller

parent dcac35b4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
- @no_container = true
- breadcrumb_title "Details"
- @project = @project.present(current_user: current_user)
 
= render partial: 'flash_messages', locals: { project: @project }
 
Loading
Loading
- @no_container = true
- breadcrumb_title "Details"
- @content_class = "limit-container-width" unless fluid_layout
- @project = @project.present(current_user: current_user)
- show_auto_devops_callout = show_auto_devops_callout?(@project)
 
= content_for :meta_tags do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment