Class: RedBase::APIController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RedBase::APIController
- Defined in:
- app/controllers/red_base/api_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#set_csrf_cookie_for_ng ⇒ Object
31 32 33 |
# File 'app/controllers/red_base/api_controller.rb', line 31 def ['XSRF-TOKEN'] = form_authenticity_token if protect_against_forgery? end |