On Mon, 2009-03-30 at 23:08 +0200, Umair Ejaz wrote: > Please let me know if any one know how to do this
I'm not sure I understand exactly what you want to do but if you really want _every_ request to get routed to the same action, you can use a before_filter. In application.rb: def route_all_to_somewhere redirect_to :controller => 'desired_controller', :action => 'desired_action' end and either at the beginning of application.rb or in each of your controller files: before_filter :route_all_to_somewhere HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

