Sha256: 623ba9945a12ff4728e8ddeb0d7e522e191c67690c60d210eb6af23536f34016

Contents?: true

Size: 514 Bytes

Versions: 2

Compression:

Stored size: 514 Bytes

Contents

module Web
  class Application < Lotus::Application
    configure do
      root __dir__

      routes 'config/routes'

      load_paths << [
        'controllers',
        'views'
      ]

      layout :application

      controller.prepare do

      end

      security.x_frame_options "DENY"
      security.content_security_policy "default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';"

      configure :test do
        handle_exceptions false
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-lotus-0.1.0 spec/dummy/apps/web/application.rb
rom-lotus-0.0.1 spec/dummy/apps/web/application.rb