Thanks, I was considering "new" as the same level as "index", but see how this makes a difference.
Dave On May 2, 4:01 am, Marnen Laibow-Koser <rails-mailing-l...@andreas- s.net> wrote: > dwormuth wrote: > > [...] > > > I'd really like to understand why the layout works for some > > controller/actions and not for others. > > Most likely because you had a relative URL that worked with respect to > /operations, but not with respect to /operations/new (which is one level > deeper in the virtual directory hierarchy that Rails creates). Notice > that the absolute path for your CSS file works in all cases. > > This is fundamental to all Web development. If you don't understand the > difference between absolute and relative paths, then go study some more, > because it's essential that you understand it. If you *do* understand > it, then be aware that it works in Rails the same as it does anywhere > else (except that most of the directories are virtual). > > Does that help? > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > [email protected] > -- > Posted viahttp://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 [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 -~----------~----~----~----~------~----~------~--~---

