lib/hanami/router/errors.rb in hanami-router-2.1.0.rc3 vs lib/hanami/router/errors.rb in hanami-router-2.1.0
- old
+ new
@@ -76,10 +76,10 @@
# @api public
class NotRoutableEndpointError < Error
# @since 0.5.0
# @api private
def initialize(env)
- super %(Cannot find routable endpoint for: #{env[::Rack::REQUEST_METHOD]} #{env[::Rack::PATH_INFO]})
+ super(%(Cannot find routable endpoint for: #{env[::Rack::REQUEST_METHOD]} #{env[::Rack::PATH_INFO]}))
end
end
end
end