Sha256: cf00f038b91b82013ab63dfe77328c468407013149e8ed223874add41ae46e5c

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

# :nodoc: stubbed, because controllers inherit from it
class ApplicationController < ActionController::Base
  prepend_view_path File.expand_path(
      '../../../lib/authpwn_rails/generators/templates', __FILE__)
  prepend_view_path File.expand_path('../../fixtures', __FILE__)

  layout 'application'

  # This is necessary for testing CSRF exceptions in API calls.
  protect_from_forgery with: :exception
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
authpwn_rails-0.23.0 test/helpers/application_controller.rb
authpwn_rails-0.22.1 test/helpers/application_controller.rb
authpwn_rails-0.22.0 test/helpers/application_controller.rb
authpwn_rails-0.21.1 test/helpers/application_controller.rb
authpwn_rails-0.21.0 test/helpers/application_controller.rb
authpwn_rails-0.20.0 test/helpers/application_controller.rb