module SecureHeaders::Routing::MapperExtensions
Public Instance Methods
csp_endpoint()
click to toggle source
# File lib/secure_headers/railtie.rb, line 23 def csp_endpoint @set.add_route(ContentSecurityPolicy::FF_CSP_ENDPOINT, {:controller => "content_security_policy", :action => "scribe"}) end