lib/generators/templates/erb/scaffold/index.html.erb in playmo-0.1.2 vs lib/generators/templates/erb/scaffold/index.html.erb in playmo-0.1.3
- old
+ new
@@ -12,10 +12,10 @@
<li><%%= link_to 'Show', <%= singular_table_name %> %></li>
<% end -%>
<%% end %>
</ul>
-<%%= admin_area do %>
+<%%= private_area true do %>
<ul>
<li><%%= link_to 'New <%= human_name %>', new_<%= singular_table_name %>_path %></li>
</ul>
<%% end %>