Home page

Layout
Assets
This commit is contained in:
Cesidio Di Landa
2013-04-19 19:51:23 +02:00
parent cee2bd02da
commit 3e96be498e
18 changed files with 162 additions and 118 deletions
+7
View File
@@ -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