summaryrefslogtreecommitdiff
path: root/lib/generators/nifty/scaffold/templates/views/haml/index.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-21 20:18:16 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-22 00:02:50 +0100
commit18ed88c7e3c789366f6e5443dc4ee0bc981a4b88 (patch)
tree847f179022a2c69c1b641fcb2aa474f168877649 /lib/generators/nifty/scaffold/templates/views/haml/index.html.haml
parent495bbfdf78206c8adaec057e83900dda6754092c (diff)
Started the migration to Twitter Bootstrap.
Diffstat (limited to 'lib/generators/nifty/scaffold/templates/views/haml/index.html.haml')
-rw-r--r--lib/generators/nifty/scaffold/templates/views/haml/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/nifty/scaffold/templates/views/haml/index.html.haml b/lib/generators/nifty/scaffold/templates/views/haml/index.html.haml
index 86c6b9e..b6642ad 100644
--- a/lib/generators/nifty/scaffold/templates/views/haml/index.html.haml
+++ b/lib/generators/nifty/scaffold/templates/views/haml/index.html.haml
@@ -1,4 +1,4 @@
-- title t("<%= plural_name %>.index.page_title")
+- content_for :title, t("<%= plural_name %>.index.page_title")
- if @<%= instances_name %> && @<%= instances_name %>.count > 0
= render "index_core", :<%= instances_name %> => @<%= instances_name %>