This project is archived and is in readonly mode.

#2855 ✓resolved
Akira Matsuda

Accept :controller parameter by Symbol in routes.rb

Reported by Akira Matsuda | June 30th, 2009 @ 08:10 AM | in 2.x

Current routes.rb doesn't accept :controller parameter by Symbol, despite :action could be a Symbol.

Attached a patch to accept :controller in Symbol like this.

  map.connect 'blogs/index', :controller => :blogs, :action => :index

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages