Sha256: a7a29814c7df6f480aec498b4f06247b7c6945e769bed6f3687d5f60200822de

Contents?: true

Size: 289 Bytes

Versions: 11

Compression:

Stored size: 289 Bytes

Contents

module FieldTest
  class BaseController < ActionController::Base
    layout "field_test/application"

    protect_from_forgery with: :exception

    http_basic_authenticate_with name: ENV["FIELD_TEST_USERNAME"], password: ENV["FIELD_TEST_PASSWORD"] if ENV["FIELD_TEST_PASSWORD"]
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
field_test-0.7.0 app/controllers/field_test/base_controller.rb
field_test-0.6.1 app/controllers/field_test/base_controller.rb
field_test-0.6.0 app/controllers/field_test/base_controller.rb
field_test-0.5.5 app/controllers/field_test/base_controller.rb
field_test-0.5.4 app/controllers/field_test/base_controller.rb
field_test-0.5.3 app/controllers/field_test/base_controller.rb
field_test-0.5.2 app/controllers/field_test/base_controller.rb
field_test-0.5.1 app/controllers/field_test/base_controller.rb
field_test-0.5.0 app/controllers/field_test/base_controller.rb
field_test-0.4.1 app/controllers/field_test/base_controller.rb
field_test-0.4.0 app/controllers/field_test/base_controller.rb