Skip to content

Commit

Permalink
hash rocket
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ueda committed Nov 8, 2017
1 parent 26cae80 commit fd0ae3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/haml/scaffold/templates/_form.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if Rails::VERSION::MAJOR >= 5 && Rails::VERSION::MINOR >= 1 -%>
= form_with model: @<%= singular_table_name %>, local: true do |f|
= form_with :model => @<%= singular_table_name %>, :local => true do |f|
<% else -%>
= form_for @<%= singular_table_name %> do |f|
<% end -%>
Expand Down

0 comments on commit fd0ae3c

Please sign in to comment.