class Generators::Avo::ActionGenerator
def create_resource_file
def create_resource_file type = "resource" type = "standalone" if options[:standalone] if type == "standalone" template "standalone_action.tt", "app/avo/actions/#{singular_name}.rb" else template "action.tt", "app/avo/actions/#{singular_name}.rb" end end