Sha256: c766e3ed4ebcc2f083c728505c8da18db704296c98b751e3821bdf7d385275aa

Contents?: true

Size: 601 Bytes

Versions: 1

Compression:

Stored size: 601 Bytes

Contents

module Brut::FrontEnd
  class RouteHook
    include Brut::FrontEnd::HandlingResults
    # Return this to continue the hook
    def continue = true
  end

  module RouteHooks
    autoload(:LocaleDetection, "brut/front_end/route_hooks/locale_detection")
    autoload(:SetupRequestContext, "brut/front_end/route_hooks/setup_request_context")
    autoload(:AgeFlash, "brut/front_end/route_hooks/age_flash")
    autoload(:CSPNoInlineStylesOrScripts,"brut/front_end/route_hooks/csp_no_inline_styles_or_scripts")
    autoload(:CSPNoInlineScripts,"brut/front_end/route_hooks/csp_no_inline_scripts")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brut-0.0.1 lib/brut/front_end/route_hook.rb