Forum: Ruby Re: Rails - MethodNotAllowed Error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jayce M. (Guest)
on 2009-03-10 04:22
(Received via mailing list)
Sorry, my last was a bit garbled. Here's a better one:

ActionController::Routing::Routes.draw do |map|

# Home controller
map.home '', :controller => "Home"
map.root :home

# Administration controller
map.admin 'admin', :controller => "Administration"
map.users 'admin', :controller => "Administration", :action => :users
map.edit_user 'admin', :controller => "Administration", :action =>
map.add_user 'admin', :controller => "Administration", :action =>
map.remove_user 'admin', :controller => "Administration", :action =>
map.content_edit 'admin', :controller => "Administration", :action =>
map.options 'admin', :controller => "Administration", :action =>
map.system_eval 'admin', :controller => "Administration", :action =>

# Account controller
map.logout 'logout', :controller => "Account", :action => "logout"
map.login 'login', :controller => "Account", :action => "login"

# About controller
map.about 'about', :controller => "About"
map.faq 'faq', :controller => "About", :action => "faq"
map.getinvolved 'getinvolved', :controller => "About", :action =>
map.showcase 'showcase', :controller => "About", :action => "showcase"

# Blog controller 'blog', :controller => "Blog"

# Forum controller 'forum', :controller => "Forum"

# Contact controller 'contact', :controller => "Contact"

From: "Jayce M." <removed_email_address@domain.invalid>
Sent: Monday, March 09, 2009 7:12 PM
To: "Ryan D." <removed_email_address@domain.invalid>
Subject: Re: Rails - MethodNotAllowed Error
This topic is locked and can not be replied to.