« Return to Thread: Only One Controller + Urgent

Re: Only One Controller + Urgent

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View in Thread


Can i do this thing in config/routes.rb ..?
If yes .. How can i .. ?

Hemant Bhargava wrote:

> Thanks a lot to all of you ..
> Really Helpful ..
>
> Cheers ..
>
> Älphä Blüë wrote:
>> First, how are you creating these controllers?  Are you creating them
>> RESTfully?  Are you using generate controller or generate scaffold?
>>
>> If you are generating via scaffold then inside your routes.rb file
>> you'll see something like:
>>
>> map.resources :controller
--
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