Just create a config/routes.rb file and add/override your custom routes there. If rails can't find a matching route in your app's routes file, it will then go to your plugin's (CE's) routes file to find a match.
On Sun, Nov 22, 2009 at 4:41 AM, Audrey A Lee <[email protected]>wrote: > Hello, > > I'm looking for a proper way to override desert_routes.rb > > I'd like to create a file called RR/config/my_desert_routes.rb > > Then I want to copy all of the syntax from desert_routes.rb into RR/ > config/my_desert_routes.rb > > Then I want to issue a directive to my CE-app to use RR/config/ > my_desert_routes.rb > > I'd like for the directive to reside inside of config/routes.rb if > that is possible. > > Clues anyone? > > --Audrey > > -- > > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=. > > > -- "We do not believe in ourselves until someone reveals that deep inside us is valuable, worth listening to, worthy of our trust, sacred to our touch." - E. E. Cummings -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=.
