app/views/cream/menu/_registration_items.html.erb in cream-0.8.6 vs app/views/cream/menu/_registration_items.html.erb in cream-0.8.7
- old
+ new
@@ -1,10 +1,10 @@
-<% for_role :user do %>
+<% for_any_user :logged_in do %>
<li>
<%= link_to('Edit registration', edit_user_registration_path) %>
</li>
<% end %>
-<% for_role :admin, false do %>
+<% for_any_user :not_logged_in do %>
<li>
<%= link_to('Register', new_user_registration_path) %>
</li>
<% end %>