Thanks dear this will work fine if I write before_filter :route_all_to_somewhere in start of my all controllers but if the controller doesnt exist, means he write locahost:3000/rac and there is not 'rac' controller then how can I redirect this request towards my desired action...It willl simply give the routing error that "No route matches "/rac" with". What I want is that it should nt gimme this error even if i write the name of the controller in URL which doesnt exists, It should always redirect to my desiredt action
-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---