From 645d475522296ca6cc687929b68efccd78685032 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Tue, 17 Feb 2015 13:32:23 +0200 Subject: [PATCH] Don't check authorization for Devise --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 047104c6b..8840e4989 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,5 @@ class ApplicationController < ActionController::Base - check_authorization + check_authorization unless: :devise_controller? # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead.