lib/hanami/action/glue.rb in hanami-controller-0.7.0 vs lib/hanami/action/glue.rb in hanami-controller-0.7.1
- old
+ new
@@ -21,10 +21,10 @@
# Override Ruby's Module#included
#
# @api private
# @since 0.3.0
def self.included(base)
- base.class_eval { expose(:format) if respond_to?(:expose) }
+ base.class_eval { _expose(:format) if respond_to?(:_expose) }
end
# Check if the current HTTP request is renderable.
#
# It verifies if the verb isn't HEAD, if the status demands to omit