« Return to Thread: Only One Controller + Urgent

Re: Only One Controller + Urgent

by Cyril Lavedrine :: Rate this Message:

Reply to Author | View in Thread

Hello,

I think you can add a before_filter in your application_controller so that it prevents the display when params[:controller] is not a.
Hope it helps !

Cyril.

2009/7/9 Hemant Bhargava <rails-mailing-list@...>

Hi Champs,

Need Help .. :(

Actually the thing is that i am having many controllers a, b, c and d..
But what i want it that only "a" should be displayed to the users .. b,
c, d not ..
Is there any way to do it .. ?

Cheers ..
--
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@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Only One Controller + Urgent