anyone have thoughts on how a library could mount an action to a route *without* messing with routes.rb or generating an actual controller? something along the lines of class ActionController::Base def global() render :text => ''42'' end end ActionController::Routing::Routes.add_route ''/global'', ... ?? in otherwords have a library mount an action to a route without generating code or editing files. cheers. -a -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---