This project is archived and is in readonly mode.
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
-
Repository July 1st, 2009 @ 07:44 PM
- State changed from new to resolved
(from [0515256fd32e6efb67fe90aedf0dadc25dc9e1ba]) Accept Symbol for contoller name [#2855 state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche ykatz+clerche@engineyard.com
http://github.com/rails/rails/commit/0515256fd32e6efb67fe90aedf0dad... -
Repository July 1st, 2009 @ 07:53 PM
(from [e10305f0f4f3dc6e9f9377ac5cf68e70b6af8474]) Accept Symbol for contoller name [#2855 state:resolved]
Signed-off-by: Yehuda Katz + Carl Lerche ykatz+clerche@engineyard.com
http://github.com/rails/rails/commit/e10305f0f4f3dc6e9f9377ac5cf68e... -
Akira Matsuda July 2nd, 2009 @ 02:09 AM
Thanks for accepting, but I just have the same question with him http://github.com/rails/rails/commit/882dd4e6054470ee56c46ab1432861...
Why don't I appear as author?? The patch is well formed and my name is in it.
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
- Nobody is watching this ticket.
Attachments
Referenced by
- 2855 Accept :controller parameter by Symbol in routes.rb (from [0515256fd32e6efb67fe90aedf0dadc25dc9e1ba]) Accept ...
- 2855 Accept :controller parameter by Symbol in routes.rb (from [e10305f0f4f3dc6e9f9377ac5cf68e70b6af8474]) Accept ...