Skip to content
Browse files

fixing instance instance variable in haml form for nifty:scaffold - c…

…loses #81
  • Loading branch information...
1 parent f0477ec commit 405b83d29106504f2120928405c869c4f8049fce @ryanb committed Jan 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/nifty/scaffold/templates/views/haml/_form.html.haml
View
2 lib/generators/nifty/scaffold/templates/views/haml/_form.html.haml
@@ -1,4 +1,4 @@
-= form_for <%= item_path %> do |f|
+= form_for <%= item_path :instance_variable => true %> do |f|
= f.error_messages
<%- for attribute in model_attributes -%>
%p

0 comments on commit 405b83d

Please sign in to comment.
Something went wrong with that request. Please try again.