Thanks a lot for this clarification. Indeed my site will be semi-static and i am ok to edit from time to time just the view. However the html/css is quite complex and wondering where to put all div and classes blocks + css for each of them. Should I put such code into partials? thanks, bogumil
On Aug 17, 4:53 pm, Fifigyuri <[email protected]> wrote: > Hi, > > In such case I would create one controller, let's say site with > actions home (or index), services, portfolio and about. If the content > is not dynamic, the code in the controller will be empty, the view > will contain the static text. I do not see any reason for creating > controller for these things. The links to the actions should be placed > maybe in the ApplicationController layout if you want to have them on > every page of your site. > > bw, Georg > > On Aug 17, 2:42 am, bgumbiker <[email protected]> wrote: > > > Just starting my first project and wondering what is the proper design > > in terms of number of Controllers for simple static page having just > > following site layout: home | services | portfolio | about. Should I > > create one Controller for each? Or create action methods representing > > above layout in ApplicationController? > > Thanks, > >Bogumbiker --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

