Skip to content

Commit ba47110

Browse files
authored
enhancement: namespaced actions generator (#3696)
1 parent dac4c27 commit ba47110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/avo/action_generator.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ActionGenerator < NamedBaseGenerator
1111
namespace "avo:action"
1212

1313
def create_resource_file
14-
template "action.tt", "app/avo/actions/#{singular_name}.rb"
14+
template "action.tt", "app/avo/actions/#{name.underscore}.rb"
1515
end
1616

1717
def configuration_options

0 commit comments

Comments
 (0)