lib/generators/authentication/templates/controllers/html/password_resets_controller.rb.tt in authentication-zero-2.2.8 vs lib/generators/authentication/templates/controllers/html/password_resets_controller.rb.tt in authentication-zero-2.2.9
- old
+ new
@@ -1,8 +1,8 @@
class PasswordResetsController < ApplicationController
- before_action :set_<%= singular_table_name %>, only: %i[ edit update ]
-
skip_before_action :authenticate
+
+ before_action :set_<%= singular_table_name %>, only: %i[ edit update ]
def new
end
def edit