lib/generators/cms/install/templates/app/views/layouts/application.html.erb in rails_admin_cms-0.0.3 vs lib/generators/cms/install/templates/app/views/layouts/application.html.erb in rails_admin_cms-0.0.4
- old
+ new
@@ -12,10 +12,10 @@
<%= cms_flash_messages %>
<div>
<%= cms_locale_selector %>
</div>
<div>
- <%= cms_link_to_edit_mode %>
+ <%= cms_link_to_edit_mode if current_admin? %>
</div>
<%= yield %>
</body>