"duplicate" is not an allowed action name
Reported by Bryan Larsen | June 18th, 2010 @ 02:37 PM
I think this is a dup of another ticket, but I can't find it at the moment.
"duplicate" is not an allowed action name
http://groups.google.com/group/hobousers/browse_thread/thread/ae0c4...
Comments and changes to this ticket
-
Matt Jones June 23rd, 2010 @ 07:40 PM
I can't reproduce this - I just opened a random model_controller in one of my projects and added:
show_action :duplicate def duplicate render :text => 'FOO' end
And it worked without issue. I suspect the issue in the linked post was a pluralization problem - the poster was using
:controller => 'unit'
, which doesn't get any magic applied to it other than titlecasing and adding 'Controller' to the end, thus looking forUnitController
rather thanUnit*s*Controller
. Neither of the initial example routes would have worked, reserved words or not... -
Matt Jones September 14th, 2011 @ 10:46 PM
- State changed from new to invalid
- Milestone order changed from 0 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป