Browse Source

Default controller

pull/580/head
baarkerlounger 3 years ago
parent
commit
b3b5b0c0a0
  1. 9
      app/controllers/auth/confirmations_controller.rb
  2. 1
      app/views/devise/passwords/reset_password.html.erb
  3. 2
      config/routes.rb

9
app/controllers/auth/confirmations_controller.rb

@ -1,9 +0,0 @@
class Auth::ConfirmationsController < Devise::ConfirmationsController
def create
super
end
def show
super
end
end

1
app/views/devise/passwords/reset_password.html.erb

@ -11,7 +11,6 @@
<%= f.hidden_field :reset_password_token %>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<% binding.pry %>
<%= f.govuk_error_summary %>
<h1 class="govuk-heading-l">

2
config/routes.rb

@ -26,7 +26,7 @@ Rails.application.routes.draw do
devise_for :users, {
path: :account,
controllers: {
confirmations: "auth/confirmations",
confirmations: "devise/confirmations",
passwords: "auth/passwords",
sessions: "auth/sessions",
two_factor_authentication: "auth/two_factor_authentication",

Loading…
Cancel
Save