lib/hanami/slice/view_name_inferrer.rb in hanami-2.0.0.beta4 vs lib/hanami/slice/view_name_inferrer.rb in hanami-2.0.0.rc1
- old
+ new
@@ -21,10 +21,10 @@
#
# @example
# ViewNameInferrer.call(action_name: "Main::Actions::Posts::Create", slice: Main::Slice)
# # => ["views.posts.create", "views.posts.new"]
#
- # @param action_name [String] action class name
+ # @param action_class_name [String] action class name
# @param slice [Hanami::Slice, Hanami::Application] Hanami slice containing the action
#
# @return [Array<string>] array of paired view container keys
def call(action_class_name:, slice:)
action_key_base = slice.config.actions.name_inference_base