diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-01-08 11:17:03 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-01-08 11:17:03 -0800 |
commit | 6b9a973154370ab8f769915a189d31a0129989bc (patch) | |
tree | 851439fbf43d911ed1f4cca6a488807c0c333287 /actionpack | |
parent | 4dcfc1f17aff18c83986e08e14787b895729fd85 (diff) | |
download | rails-6b9a973154370ab8f769915a189d31a0129989bc.tar.gz rails-6b9a973154370ab8f769915a189d31a0129989bc.tar.bz2 rails-6b9a973154370ab8f769915a189d31a0129989bc.zip |
Fix the example
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index b7e6748cc9..c774cf8373 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base before_action :authenticate - protect_from_forgery unless: -> { @authenticated_by.oauth? } + protect_from_forgery prepend: true, unless: -> { @authenticated_by.oauth? } private def authenticate |