Present in both answers;Present only in the new answer;Present only in the old answer;
I have used something like this and it works for me. class WelcomeController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate_model! end
I have used something like this and it works for me. class WelcomeController < ActionController::Base protect_from_forgery with: :exception before_action :authenticate_model! end
Present in both answers;Present only in the new answer;Present only in the old answer;