Skip to content

Commit 06029c2

Browse files
committed
fix: when using forms generator
1 parent 31a47ed commit 06029c2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/generators/active_form_model/form_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class FormGenerator < ::Rails::Generators::NamedBase
77
source_root File.expand_path('templates', __dir__)
88

99
def create_form
10-
template 'form.rb', File.join('app/forms', class_path, "#{file_name}_form.erb")
10+
template 'form.rb', File.join('app/forms', class_path, "#{file_name}_form.rb")
1111
end
1212
end
1313
end

0 commit comments

Comments
 (0)