diff --git a/app/views/groups/index.html.haml b/app/views/groups/index.html.haml --- a/app/views/groups/index.html.haml +++ b/app/views/groups/index.html.haml @@ -9,15 +9,13 @@ %th Description %th %th - %th %tbody - @groups.each do |group| %tr %td= group.name %td= group.description - %td= link_to 'Show', group, class: 'btn btn-default' - %td= link_to 'Edit', edit_group_path(group), class: 'btn btn-default' + %td= link_to 'View', group, class: 'btn btn-default' %td= link_to 'Destroy', group, :method => :delete, :data => { :confirm => 'Are you sure?' }, class: 'btn btn-danger' %br