Is'nt there anyone who can help me get rid out of this ..

Hemant Bhargava wrote:
> I have few actions (Suppose a, b and c) in my controller (Suppose
> cont)..
> When i type them in url like http://localhost/cont/a or b or c its all
> Ok ..
> But when i type http://localhost/cont/d or e .. Giving error ..
> What to change in routes.rb to tackle.. I want to show an landing page
> in case of buggy URL ..
> Also if i type http://localhost/cont/a123 then also it should take me to
> the landing page(Buggy Url page)
> 
> before_filter is for something else .. rit ..
> May be an beginner question but do now know how to tackle .. :)

-- 
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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to