mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Release 2.2.0.rc
This commit is contained in:
@@ -5,4 +5,5 @@ class ApplicationController < ActionController::Base
|
||||
protect_from_forgery
|
||||
before_filter :current_user, :unless => :devise_controller?
|
||||
before_filter :authenticate_user!, :if => :devise_controller?
|
||||
respond_to *Mime::SET.map(&:to_sym)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user