module Granite::Routing::Mapper

Public Instance Methods

granite(projector_path, **options) click to toggle source
# 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