Home page
Layout Assets
This commit is contained in:
@@ -1,2 +1,9 @@
|
||||
module ApplicationHelper
|
||||
def title(page_title)
|
||||
content_for(:title) { page_title.to_s }
|
||||
end
|
||||
|
||||
def yield_or_default(section, default = '')
|
||||
content_for?(section) ? content_for(section) : default
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user