Sha256: 7bcdc5924baa80ce51e3329244953a340833fa11e09d746185537191998df347

Contents?: true

Size: 536 Bytes

Versions: 42

Compression:

Stored size: 536 Bytes

Contents

class ApplicationController < ActionController::Base
  include Edgarj::ControllerMixinForApp
  include DummyAuthMixin
  include Edgarj::RescueMixin

  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception

  # order is important.  *Latter* should be more specific.
  rescue_from StandardError,                with: :edgarj_rescue_app_error
  rescue_from ActiveRecord::RecordNotFound, with: :edgarj_rescue_404

  before_filter :require_login
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
edgarj-4.06.10 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.09 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.07 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.05 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.04 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.03 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.02 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.01 test/dummy/app/controllers/application_controller.rb
edgarj-4.06.00 test/dummy/app/controllers/application_controller.rb
edgarj-4.05.04 test/dummy/app/controllers/application_controller.rb
edgarj-4.05.03 test/dummy/app/controllers/application_controller.rb
edgarj-4.05.02 test/dummy/app/controllers/application_controller.rb
edgarj-4.05.01 test/dummy/app/controllers/application_controller.rb
edgarj-4.05.00 test/dummy/app/controllers/application_controller.rb
edgarj-4.04.01 test/dummy/app/controllers/application_controller.rb
edgarj-4.04.00 test/dummy/app/controllers/application_controller.rb
edgarj-4.03.00 test/dummy/app/controllers/application_controller.rb
edgarj-4.02.00 test/dummy/app/controllers/application_controller.rb
edgarj-4.01.01 test/dummy/app/controllers/application_controller.rb
edgarj-4.01.00 test/dummy/app/controllers/application_controller.rb