Skip to content

Commit

Permalink
Fixing delete registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason L Perry committed Mar 14, 2009
1 parent cfa9435 commit 2064593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/registrations/edit.html.erb
Expand Up @@ -23,7 +23,7 @@

<p class="navigation">
<% if current_user.officer? || current_user == @registration.character.user %>
<%= link_to 'Destroy', @registration, :confirm => 'Are you sure?', :method => :delete %>
<%= link_to 'Destroy', [@registration.event, @registration], :confirm => 'Are you sure?', :method => :delete %>
<% end %>
</p>

Expand Down

0 comments on commit 2064593

Please sign in to comment.