Chris Toynbee
unread,May 14, 2012, 12:12:52 AM5/14/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Radiant CMS
Hi,
I was wondering if anyone has any experience adding routes from a
radiant extension.
I've found something like this:
ActionController::Routing::Routes.add_named_route(
'asset',
'/asset/:action',
:controller => 'asset')
but I haven't got it working yet.
This looks like it would map an action you create.
If this is right - where would be the place to put this in my
extension e.g. lib directory?
I'm using Radiant 0.8.0.
Cheers,
Chris.