Sha256: cddc2e188a80a86bb8d9d06dd67e673ce817b3a9b19cc625638c2d24a943ef51

Contents?: true

Size: 392 Bytes

Versions: 8

Compression:

Stored size: 392 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

8 entries across 8 versions & 2 rubygems

Version Path
devbootsrap-0.0.7 test/rails_app/app/controllers/application_controller.rb
devbootsrap-0.0.6 test/rails_app/app/controllers/application_controller.rb
devbootsrap-0.0.5 test/rails_app/app/controllers/application_controller.rb
devbootsrap-0.0.4 test/rails_app/app/controllers/application_controller.rb
devbootsrap-0.0.3 test/rails_app/app/controllers/application_controller.rb
devbootsrap-0.0.2 test/rails_app/app/controllers/application_controller.rb
devbootsrap-0.0.1 test/rails_app/app/controllers/application_controller.rb
devise-3.2.4 test/rails_app/app/controllers/application_controller.rb