class Flame::Errors::RouteNotFoundError

Error for Flame::Dispatcher.path_to

Public Class Methods

new(ctrl, method) click to toggle source
# File lib/flame/errors/route_not_found_error.rb, line 7
def initialize(ctrl, method)
        @ctrl = ctrl
        @method = method
end

Public Instance Methods

message() click to toggle source
# File lib/flame/errors/route_not_found_error.rb, line 12
def message
        "Route with controller '#{@ctrl}' and method '#{@method}'" \
                ' not found in application routes'
end