On Sun, May 23, 2010 at 5:07 AM, John Merlino <li...@ruby-forum.com> wrote: > nirosh wrote: >> write the function @ application_controller that can be access in any >> controller. >> for more info read abt application controller doc.
Or create a utility controller, call it "home" or whatever, that handles all the non-model pages you need. That's pretty typical. > What about the image paths. This is in css and it's not linking to the > images folder: > background: #b8e5d1 url(/public/images/mastgrad.png) top left no-repeat; > > public/images incorrect path? I don't understand because it looks like > thats the path structure in my app. "public" is the root directory of all the static resources -- so you only want to use `background: #b8e5d1 url( /images/mastgrad.png ) ...` HTH, -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com twitter: @hassan -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.