Sha256: da77242fe2b417b0e5dfcdf5e93c3c18bf392cee698305d328000eeae464c6d2

Contents?: true

Size: 360 Bytes

Versions: 22

Compression:

Stored size: 360 Bytes

Contents

# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.

class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :current_user, :unless => :devise_controller?
  before_filter :authenticate_user!, :if => :devise_controller?
end

Version data entries

22 entries across 17 versions & 5 rubygems

Version Path
devise-2.0.6 test/rails_app/app/controllers/application_controller.rb
devise-2.1.4 test/rails_app/app/controllers/application_controller.rb
devise-2.1.3 test/rails_app/app/controllers/application_controller.rb
devise-2.0.5 test/rails_app/app/controllers/application_controller.rb
af-devise-2.1.2 test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/controllers/application_controller.rb
devise-2.1.2 test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/controllers/application_controller.rb
rmello-devise-2.1.0.2 test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/devise-2.1.0/test/rails_app/app/controllers/application_controller.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/controllers/application_controller.rb
devise-2.1.0 test/rails_app/app/controllers/application_controller.rb
devise-2.1.0.rc2 test/rails_app/app/controllers/application_controller.rb
upstream-devise-2.1.0.rc test/rails_app/app/controllers/application_controller.rb