This project is archived and is in readonly mode.
Accept arrays of symbols as values for collection/member actions of resources
-
Brennan Dunn
E-mail typo in diff file
-
Gaius Centus Novus
This version only supports Resources; the solution should go deeper.
-1 as is
+1 for a version that allows non-resource multiple methods (see routes_with_method_array.diff)
-
Ken Collins
- 1 For anything that gives me the ability to use an array of methods. The [:get,:post] is a great example of a simple post back convention. I experienced this pain the other day while moving 1.2.6 app to resource based routes. So as far as I'm concerned the big help would be in resources but yes, I love the idea of having it in app route definitions.
-
Jeremy Kemper
- Milestone cleared.
- State changed from new to open
- Assigned user set to Jeremy Kemper
-
Jeremy Kemper
- Tag set to actionpack, patch, routing, tested
Looks good. Could you rebase against master?
-
Brennan Dunn
Jeremy, updated my patch against the latest master.
-
Brennan Dunn
Jeremy, attached is both my original patch and Gaius' reworked for master.
-
Repository
- State changed from open to resolved
(from [9cc8c0a0a18163fb6ae0f66b2513c902d19459dc]) Routes may be restricted to lists of HTTP methods instead of a single method or :any.
[#407 Accept arrays of symbols as values for collection/member actions of resources state:resolved]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
