Sha256: 73aa94b087bd8f8b043f84b1bfc1aa87ad68c09f48e0fe391419d63e5f9bc5cd

Contents?: true

Size: 398 Bytes

Versions: 35

Compression:

Stored size: 398 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?
  respond_to *Mime::SET.map(&:to_sym)
end

Version data entries

35 entries across 35 versions & 6 rubygems

Version Path
devise-3.2.3 test/rails_app/app/controllers/application_controller.rb
devise-token_authenticatable-0.1.0 spec/support/rails_app/app/controllers/application_controller.rb
devise-token_authenticatable-0.1.0.beta1 spec/support/rails_app/app/controllers/application_controller.rb
devise-3.2.2 test/rails_app/app/controllers/application_controller.rb
devise-3.2.1 test/rails_app/app/controllers/application_controller.rb
devise-3.1.2 test/rails_app/app/controllers/application_controller.rb
devise-3.0.4 test/rails_app/app/controllers/application_controller.rb
devise-2.2.8 test/rails_app/app/controllers/application_controller.rb
devise-3.2.0 test/rails_app/app/controllers/application_controller.rb
devise-3.1.1 test/rails_app/app/controllers/application_controller.rb
devise-3.1.0 test/rails_app/app/controllers/application_controller.rb
devise-2.2.7 test/rails_app/app/controllers/application_controller.rb
devise-3.0.3 test/rails_app/app/controllers/application_controller.rb
devise-3.1.0.rc2 test/rails_app/app/controllers/application_controller.rb
devise-2.2.6 test/rails_app/app/controllers/application_controller.rb
devise-3.0.2 test/rails_app/app/controllers/application_controller.rb
devise-3.0.1 test/rails_app/app/controllers/application_controller.rb
devise-2.2.5 test/rails_app/app/controllers/application_controller.rb
loyal_devise-2.1.7 test/rails_app/app/controllers/application_controller.rb
loyal_devise-2.1.6 test/rails_app/app/controllers/application_controller.rb