Hi,

I have a custom page type called "TripPage". I want to be able to do
create a new page with the "/trips" slug and then do this:

/trips/2640024

to display the trip with the id "2630024". I know I could easily do
/trips?id=2630024 and access that via @request.params[:id], but I want
to make the site SEO friendly and avoid get parameters.

Would the best practice be to set this up through the routes in the
_extension.rb file?

Thanks!

- Johannes Fahrenkrug
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to