orbit-4-2/app/views/devise/menu/_registration_items.html.erb

9 lines
200 B
Plaintext
Raw Permalink Normal View History

<% if user_signed_in? %>
<li>
<%= link_to('Edit registration', edit_user_registration_path) %>
</li>
<% else %>
<li>
<%= link_to('Register', new_user_registration_path) %>
</li>
<% end %>