Module: Vidibus::Xss::Extensions::Controller
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/vidibus/xss/extensions/controller.rb
Instance Method Summary collapse
-
#xss_clients ⇒ Object
Set hostname of clients that are allowed to access this resource.
Instance Method Details
#xss_clients ⇒ Object
Set hostname of clients that are allowed to access this resource.
17 18 19 |
# File 'lib/vidibus/xss/extensions/controller.rb', line 17 def xss_clients @xss_clients ||= [request.headers["Origin"]] end |