summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDavid Underwood <david.underwood@jadedpixel.com>2013-06-25 11:40:35 -0400
committerDavid Underwood <david.underwood@jadedpixel.com>2013-06-25 11:43:20 -0400
commit32edb874f2fa2aefe363ec9d92d5f529cec489d8 (patch)
tree3518e71e80acc4522dfae958a8b241925aa50d9b /templates
parent062a84ca3921464e0ca4a65b4d914a4d40513858 (diff)
render titles correctly
Diffstat (limited to 'templates')
-rw-r--r--templates/project/dashboards/sample.erb2
-rw-r--r--templates/project/dashboards/sampletv.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/project/dashboards/sample.erb b/templates/project/dashboards/sample.erb
index 7435b56..d41d538 100644
--- a/templates/project/dashboards/sample.erb
+++ b/templates/project/dashboards/sample.erb
@@ -1,4 +1,4 @@
-<% content_for(:title) { "My super sweet dashboard" } %>
+<% content_for :title do %>My super sweet dashboard<% end %>
<div class="gridster">
<ul>
<li data-row="1" data-col="1" data-sizex="2" data-sizey="1">
diff --git a/templates/project/dashboards/sampletv.erb b/templates/project/dashboards/sampletv.erb
index 7ac9112..b88e636 100644
--- a/templates/project/dashboards/sampletv.erb
+++ b/templates/project/dashboards/sampletv.erb
@@ -8,7 +8,7 @@ $(function() {
</script>
-<% content_for(:title) { "1080p dashboard" } %>
+<% content_for :title do %>1080p dashboard<% end %>
<div class="gridster">
<ul>