Added new build to search
This commit is contained in:
parent
aff07e8a6c
commit
741f69e4a3
|
@ -7,7 +7,7 @@ class ApplicationController < ActionController::Base
|
||||||
AbstractController::ActionNotFound
|
AbstractController::ActionNotFound
|
||||||
]
|
]
|
||||||
|
|
||||||
protect_from_forgery
|
protect_from_forgery with: :exception
|
||||||
|
|
||||||
layout :layout_by_resource
|
layout :layout_by_resource
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
h4
|
.row
|
||||||
a href=project_path(project)
|
.pull-left
|
||||||
= project.name_with_owner
|
a href=project_build_lists_path(project)
|
||||||
|
= project.name_with_owner
|
||||||
|
- if BuildListPolicy.new(current_user, project.build_lists.build).new?
|
||||||
|
.pull-right
|
||||||
|
a href=new_project_build_list_path(project)
|
||||||
|
= t 'dashboard.projects.new_build'
|
Loading…
Reference in New Issue