Skip to content

Commit

Permalink
Shortlinks: link should point to target, not object.
Browse files Browse the repository at this point in the history
  • Loading branch information
jforberg committed Mar 24, 2015
1 parent 1abdf3a commit 27ed396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/short_links/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
- @short_links.each do |sl|
%tr
%td= sl.link
%td= link_to sl.target
%td= link_to sl.target, sl.target
%td= link_to 'Ta bort', sl, :method => :delete

0 comments on commit 27ed396

Please sign in to comment.