mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
18 lines
512 B
Ruby
18 lines
512 B
Ruby
require_relative 'boot'
|
|
|
|
require 'rails/all'
|
|
|
|
# Require the gems listed in Gemfile, including any gems
|
|
# you've limited to :test, :development, or :production.
|
|
Bundler.require(*Rails.groups)
|
|
|
|
module Railsapp
|
|
class Application < Rails::Application
|
|
# Initialize configuration defaults for originally generated Rails version.
|
|
config.load_defaults 6.0
|
|
|
|
# BAD: Disabling forgery protection may open the application to CSRF attacks
|
|
config.action_controller.allow_forgery_protection = false
|
|
end
|
|
end
|