Skip to content

Commit

Permalink
Merge pull request #18 from ekuzovlev/fix_form_generator
Browse files Browse the repository at this point in the history
fix: when using forms generator
  • Loading branch information
mokevnin authored May 31, 2024
2 parents 31a47ed + 06029c2 commit 166df73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/active_form_model/form_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class FormGenerator < ::Rails::Generators::NamedBase
source_root File.expand_path('templates', __dir__)

def create_form
template 'form.rb', File.join('app/forms', class_path, "#{file_name}_form.erb")
template 'form.rb', File.join('app/forms', class_path, "#{file_name}_form.rb")
end
end
end
Expand Down

0 comments on commit 166df73

Please sign in to comment.