Class: ActionDispatch::Routing::Mapper::Mapping

Inherits:
Object
  • Object
show all
Defined in:
lib/focused_controller/route_mapper.rb

Instance Method Summary collapse

Instance Method Details

#initialize_with_focused_controller(set, scope, path, options) ⇒ Object



60
61
62
63
64
65
66
# File 'lib/focused_controller/route_mapper.rb', line 60

def initialize_with_focused_controller(set, scope, path, options)
  if scope[:focused_controller_routes]
    options = FocusedController::RouteMapper.new(scope, options).options
  end

  initialize_without_focused_controller(set, scope, path, options)
end