Module: Granite::Routing::Mapper
- Defined in:
- lib/granite/routing/mapper.rb
Instance Method Summary collapse
Instance Method Details
#granite(projector_path, **options) ⇒ Object
7 8 9 10 |
# File 'lib/granite/routing/mapper.rb', line 7 def granite(projector_path, **) route = Route.new(projector_path, **.extract!(:path, :as, :projector_prefix)) Declarer.declare(self, route, **) end |