templates/project/dashboards/sample.erb in dashing-1.0.6 vs templates/project/dashboards/sample.erb in dashing-1.1.0
- old
+ new
@@ -1,5 +1,5 @@
-<% 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">
<div data-id="welcome" data-view="Text" data-title="Hello" data-text="This is your shiny new dashboard." data-moreinfo="Protip: You can drag the widgets around!"></div>
</li>
\ No newline at end of file