rails: update defaults from 5.1 to 5.2.
protect_from_forgery removed from because it's now on by default. ref: https://edgeguides.rubyonrails.org/configuring.html
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
helper :pagination
|
||||
before_action :reset_current_user
|
||||
before_action :set_current_user
|
||||
|
||||
Reference in New Issue
Block a user