Module: Granite::Routing::Mapper

Defined in:
lib/granite/routing/mapper.rb

Overview

:nodoc:

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, **options)
  route = Route.new(projector_path, **options.extract!(:path, :as, :projector_prefix))
  Declarer.declare(self, route, **options)
end