summaryrefslogtreecommitdiff
path: root/lib/generators/nifty/scaffold/templates/views/haml/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/nifty/scaffold/templates/views/haml/show.html.haml')
-rw-r--r--lib/generators/nifty/scaffold/templates/views/haml/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/nifty/scaffold/templates/views/haml/show.html.haml b/lib/generators/nifty/scaffold/templates/views/haml/show.html.haml
index 3d01340..bd73c52 100644
--- a/lib/generators/nifty/scaffold/templates/views/haml/show.html.haml
+++ b/lib/generators/nifty/scaffold/templates/views/haml/show.html.haml
@@ -1,4 +1,4 @@
-- title t("<%= plural_name %>.show.page_title")
+- content_for :title, t("<%= plural_name %>.show.page_title")
<%- for attribute in model_attributes -%>
%p