method

route

route(routing_code)
public

Make an entry in Rails routing file config/routes.rb

Example

  route "root :to => 'welcome'"