I've had to add :registrationable to allow editing of passwords etc
Althouth I need to remove the routes for sign_up.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<%= link_to "Log in", new_session_path(resource_name) %><br />
|
||||
<% end %>
|
||||
|
||||
<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
|
||||
<%- if devise_mapping.registerable? && controller_name != 'registrations' && false %>
|
||||
<%= link_to "Sign up", new_registration_path(resource_name) %><br />
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% if user_signed_in? %><%= link_to current_user.email, edit_user_password_path %><% end %>
|
||||
|
||||
<h1>Domains <%= link_to "Add new domain",new_domain_path %> </h1>
|
||||
|
||||
<div id="domains">
|
||||
|
||||
Reference in New Issue
Block a user