hooks scaffold

This commit is contained in:
Dmitriy Zaporozhets 2012-01-04 02:07:56 +02:00
parent 495deea7eb
commit 2d3b6375f3
8 changed files with 40 additions and 7 deletions

View 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"