I have a partial that I want to display in a layout only when certain pages use that layout. I\'ve set @page_title for all my pages and thought I could use something like this:<
Use , instead of || to separate the matches after when. See more about Ruby syntax in http://docs.huihoo.com/ruby/ruby-man-1.4/syntax.html#case.
,
||
when