Skip to content

Commit

Permalink
Add link to "Senda einkaskilaboð" on user info pages. Fixes #59
Browse files Browse the repository at this point in the history
  • Loading branch information
Gunnar Guðvarðarson committed Aug 20, 2012
1 parent 351e7fb commit 31ec3b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/users/show.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.section
%ul.controls
- link :messages, :new, :receiver => @user.username do
%li= link_to "Senda einkaskilaboð", new_message_path(:receiver => @user.username)
- link :blocks, :create, :user => @user.username do
%li= link_to "Hunsa", blocks_path(:user => @user.username), :confirm => "Ertu viss um að þú viljir hunsa þennan notanda?", :method => :post
%h2= @user.username
Expand Down

0 comments on commit 31ec3b7

Please sign in to comment.