search for: title_tag

Displaying 1 result from an estimated 1 matches for "title_tag".

Did you mean: title_bad
2008 May 19
0
How to fetch a block provided by content_for in a helper?
Hi, I got a title_tag helper that renders default page title or title provided by content_for block, if such block is present. Currently I call this method like this: "title_tag(yield(:title))". Is it possible to fetch :title block inside the helper without explicitly passing it as a parameter to this helper?...