2008/9/19 elioncho <[EMAIL PROTECTED]>: > > Hello! > > 1) Should I send some extra parameters to my index action, like and id > or something: > > 2) Should I create different controllers with only an index action on > it (Create and other actions stay on the posts_controller): > > So, which approach should I use?
I think you should use your first. It's a bit more coding, but you have your code in just one controller, so you can modify only one part and not a lot of actions, controllers et al. Cheers! -- Rodrigo Fuentealba http://www.thecodekeeper.net/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

