hooks scaffold
This commit is contained in:
parent
495deea7eb
commit
2d3b6375f3
8 changed files with 40 additions and 7 deletions
7
app/views/hooks/show.html.haml
Normal file
7
app/views/hooks/show.html.haml
Normal file
|
@ -0,0 +1,7 @@
|
|||
= render "repositories/head"
|
||||
= debug @hook
|
||||
|
||||
- if can? current_user, :admin_project, @project
|
||||
.merge-tabs
|
||||
.right
|
||||
= link_to 'Remove', project_hook_path(@project, @hook), :confirm => 'Are you sure?', :method => :delete, :class => "red-button"
|
Loading…
Add table
Add a link
Reference in a new issue