This project is archived and is in readonly mode.

#2592 ✓stale
James Adam

Plugin routes override application routes

Reported by James Adam | May 1st, 2009 @ 03:25 PM | in 3.x

At the moment, plugin routes are loaded before application routes. This means that it's possible for a plugin to override anything defined in the application's routes.rb.

Here's a small patch to fix it - I've adopted what I believe is the simplest approach without considering how to split apart the route loading process.

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