diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7d556f8..54a27d9 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class ApplicationController < ActionController::Base - # before_action :authenticate_user! + before_action :authenticate_user! layout :layout_by_resource @@ -9,5 +9,5 @@ class ApplicationController < ActionController::Base def layout_by_resource devise_controller? ? 'devise' : 'application' - end + end end diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index cf3d281..09e0607 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -1,25 +1,29 @@ -