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.
