require 'hanami/helpers'
require 'hanami/assets'
require_relative '../../../lib/flagsmith'
module Web
class Application < Hanami::Application
configure do
root __dir__
load_paths << %w[
controllers
views
]
routes 'config/routes'
layout :application # It will load Web::Views::ApplicationLayout
templates 'templates'
##
# ASSETS
#
assets do
# In order to skip JavaScript compression comment the following line
javascript_compressor :builtin
# In order to skip stylesheet compression comment the following line
stylesheet_compressor :builtin
end
##
# SECURITY
#
# X-Frame-Options is a HTTP header supported by modern browsers.
# It determines if a web page can or cannot be included via and
#