module Spine::Routing::Syntax::Namespacing
Public Instance Methods
scope(path, &block)
click to toggle source
# File lib/spine/routing/syntax/namespacing.rb, line 5 def scope(path, &block) nested = NestedRouter.new(normalize_path(path.to_s), self) nested.instance_eval &block self end