lib/generators/authentication/templates/controllers/html/password_resets_controller.rb.tt in authentication-zero-0.0.9 vs lib/generators/authentication/templates/controllers/html/password_resets_controller.rb.tt in authentication-zero-0.0.10
- old
+ new
@@ -1,7 +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