Class: StaticRails::GetsCsrfToken
- Inherits:
-
Object
- Object
- StaticRails::GetsCsrfToken
- Includes:
- RequestForgeryProtectionFallback
- Defined in:
- lib/static-rails/gets_csrf_token.rb
Instance Method Summary collapse
Methods included from RequestForgeryProtectionFallback
#method_missing, #respond_to?, #respond_to_missing?
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class StaticRails::RequestForgeryProtectionFallback
Instance Method Details
#call(req) ⇒ Object
7 8 9 |
# File 'lib/static-rails/gets_csrf_token.rb', line 7 def call(req) masked_authenticity_token(req.session) end |