Skip to content

Commit

Permalink
enhancement: namespaced actions generator (#3696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Feb 26, 2025
1 parent dac4c27 commit ba47110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/avo/action_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ActionGenerator < NamedBaseGenerator
namespace "avo:action"

def create_resource_file
template "action.tt", "app/avo/actions/#{singular_name}.rb"
template "action.tt", "app/avo/actions/#{name.underscore}.rb"
end

def configuration_options
Expand Down

0 comments on commit ba47110

Please sign in to comment.