Revision c6e02bd3
Added by Joseph Magen over 10 years ago
app/helpers/layout_helper.rb | ||
---|---|---|
module LayoutHelper
|
||
def title(page_title, page_header = nil)
|
||
content_for(:title, page_title.to_s)
|
||
@page_header = page_header || @content_for_title || page_title.to_s
|
||
@page_header ||= page_header || @content_for_title || page_title.to_s
|
||
end
|
||
|
||
def title_actions *elements
|
Also available in: Unified diff
fixes #3178 - add feature for compute profiles for hostgroups and hosts