lib/hanami/cli/generators/app/action/action.erb in hanami-cli-2.0.0.beta2 vs lib/hanami/cli/generators/app/action/action.erb in hanami-cli-2.0.0.beta3

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true -module <%= classified_app_name %> +module <%= camelized_app_name %> module Actions <%= module_controller_declaration %> -<%= module_controller_offset %>class <%= classified_action_name %> < <%= classified_app_name %>::Action +<%= module_controller_offset %>class <%= camelized_action_name %> < <%= camelized_app_name %>::Action <%= module_controller_offset %> def handle(*, response) <%= module_controller_offset %> response.body = self.class.name <%= module_controller_offset %> end <%= module_controller_offset %>end <%= module_controller_end %>