Exception: Flame::Errors::RouteNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Flame::Errors::RouteNotFoundError
- Defined in:
- lib/flame/errors/route_not_found_error.rb
Overview
Error for Flame::Dispatcher.path_to
Instance Method Summary collapse
-
#initialize(ctrl, method) ⇒ RouteNotFoundError
constructor
A new instance of RouteNotFoundError.
- #message ⇒ Object
Constructor Details
#initialize(ctrl, method) ⇒ RouteNotFoundError
Returns a new instance of RouteNotFoundError.
7 8 9 10 |
# File 'lib/flame/errors/route_not_found_error.rb', line 7 def initialize(ctrl, method) @ctrl = ctrl @method = method end |
Instance Method Details
#message ⇒ Object
12 13 14 15 |
# File 'lib/flame/errors/route_not_found_error.rb', line 12 def "Route with controller '#{@ctrl}' and method '#{@method}'" \ ' not found in application routes' end |