Method: Eastwood::Config::ClassMethods#path

Defined in:
lib/eastwood/config.rb

#path(name, route) ⇒ Object



15
16
17
# File 'lib/eastwood/config.rb', line 15

def path( name, route )
  paths[ name ] = [ route, 'path' ]
end