Sha256: 3a6797e3079f63ce4175d71d0b9b12bbaf084a7ae871b20e272096212c36379e

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

module Plug
  class ApplicationController < ActionController::Base
    protect_from_forgery with: :exception

    unless Rails.env.test?
      # http_basic_authenticate_with name: Plug.auth_user, password: Plug.auth_password
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
plug-0.1.11 app/controllers/plug/application_controller.rb
plug-0.1.9 app/controllers/plug/application_controller.rb
plug-0.1.8 app/controllers/plug/application_controller.rb
plug-0.1.7 app/controllers/plug/application_controller.rb
plug-0.1.6 app/controllers/plug/application_controller.rb