Permalink
Browse files

Force instance variable on edit.html.hml. closes #89

  • Loading branch information...
1 parent ecb1282 commit 852bb9684ff67ff8b1adcea34a555cbd41c4875d @nhocki nhocki committed Feb 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/nifty/scaffold/templates/views/haml/edit.html.haml
@@ -5,7 +5,7 @@
<%- if actions? :show, :index -%>
%p
<%- if action? :show -%>
- = link_to "Show", <%= item_path %>
+ = link_to "Show", <%= item_path :instance_variable => true %>
|
<%- end -%>
<%- if action? :index -%>

0 comments on commit 852bb96

Please sign in to comment.