v2.0.1 -
Show latest stable
-
1 note
- v1.0.0
- v1.1.0
- v1.1.1
- v1.1.2
- v1.1.3
- v1.1.4
- v1.1.5
- v1.1.6
- v1.2.0
- v1.2.1
- v1.2.2
- v1.2.3
- v1.2.4
- v1.2.5
- v1.2.6
- 2.0.0 (0)
- 2.0.1 (0)
- 2.0.2 (0)
- 2.0.3 (38)
- 2.1.0 (0)
- 2.2.1 (0)
- 2.3.2 (0)
- 2.3.4 (0)
- What's this?
Register or
log in
to add new notes.
rob-twf -
February 18, 2009
3 thanks
Turn off for individual controllers/actions
To disable protection for all actions in your controller use skip_before_filter:
skip_before_filter :verify_authenticity_token
You can also pass :only and :except to disable protection for specific actions, e.g:
skip_before_filter :verify_authenticity_token, :only => :index

