you don't need to edit desert_routes.rb. Just add your application routes before the map.route_from_plugin :community_engine line. so if you need the '/page?pid=microsoft-interview-questions' route, you'd most probably have the following in your routes.rb file.
map.page '/page', :controller => 'controller_name', :action => 'action_name' map.routes_from_plugin :community_engine then you'd just call the following in your views page_path(:pid => 'microsoft-interview-questions') for tag: microsoft. On Tue, Aug 3, 2010 at 6:15 AM, Edward Funger <[email protected]> wrote: > So I'm in the final stages of development with my new site, thanks to > all of you that have helped me out so far. I am trying to use the same > URLs from my old site so that I can keep my space in google searches. > > Basically I want '/page?pid=microsoft-interview-questions' to route to > the show page for tag: microsoft. > > I understand that I have to create a route in the desert_routes.rb > file but I'm having some trouble because the browser seems to be > getting at it first and translating the parameters. > > -- > 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=en. > > -- ------------------------------------------------------------- visit my blog at http://jimlabs.heroku.com -- 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=en.
