lib/hanami/cli/generators/app/action_context.rb in hanami-cli-2.0.0.beta2 vs lib/hanami/cli/generators/app/action_context.rb in hanami-cli-2.0.0.beta3

- old
+ new

@@ -12,17 +12,17 @@ @controller = controller @action = action super(inflector, app, slice, nil) end - def classified_controller_name + def camelized_controller_name controller.map do |token| inflector.camelize(token) end.join(NAMESPACE_SEPARATOR) end - def classified_action_name - inflector.classify(action) + def camelized_action_name + inflector.camelize(action) end def underscored_controller_name controller.map do |token| inflector.underscore(token)