app/views/devise/shared/_links.html.erb in enju_leaf-1.2.1 vs app/views/devise/shared/_links.html.erb in enju_leaf-1.2.2
- old
+ new
@@ -1,10 +1,10 @@
<%- if controller_name != 'sessions' %>
<%= link_to t('page.sign_in'), new_session_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
- <%= link_to t('page.sign_up'), new_registration_path(resource_name) %><br />
+ <%# link_to t('page.sign_up'), new_registration_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
<%= link_to t('user.forgot_your_password'), new_password_path(resource_name) %><br />
<% end -%>