This project is archived and is in readonly mode.

#406 ✓committed
Gaius Centus Novus

Drying up ActionPack Resources

Reported by Gaius Centus Novus | June 13th, 2008 @ 11:53 AM

I wanted a single place to change how resources declared routes, so I dryed up the class a bit, creating the :map_named_routes(map, name_without_format, path_without_format, options) and :map_unnamed_routes(map, path_without_format, options). I also fixed a small formatting error in the RDoc.

No tests added because no behavior has changed; existing tests pass.

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>

Attachments

Pages