Sha256: 795c3939daed979df65c4e6956e7f4b6084a9d9a846230b93592283bd8bd1f17

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  # Home
  map.with_options(:controller => 'home') do |home|
    home.home '', :action => 'index'
    home.home_search 'search_stuff', :action => 'search'
  end
  
  # Contact
  map.with_options(:controller => 'contact') do |contact|
    contact.contact 'contact', :action => 'index'
  end
  
  map.connect ':controller/:action/:id.:format'
  map.connect ':controller/:action/:id'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
menu_helper-0.0.1 test/app_root/config/routes.rb
menu_helper-0.0.5 test/app_root/config/routes.rb
menu_helper-0.0.4 test/app_root/config/routes.rb