finnlabs/chiliproject — pull request #37 by tessi (2012-08-13 10:13:25+00:00)
Title: use non-deprecated way of asking if there is a content_for block in wiki...

...-show view

replace occurences of

@content_for_action_menu_main
with

content_for?(:action_menu_main)

> The deprecated way of accessing a content_for block is to use an instance variable named @content_for_#{name_of_the_content_block}. The preferred usage is now <%= yield :footer %>.

source: http://apidock.com/rails/v2.3.8/ActionView/Helpers/CaptureHelper/content_for