aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2015-01-08 11:18:06 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2015-01-08 11:18:06 -0800
commit9af5f33a1629f16c56137e2b9903bc977455075f (patch)
tree54ff258ab42f8b735947e24b2d2a81e1cc8e054d /actionpack
parent6b9a973154370ab8f769915a189d31a0129989bc (diff)
downloadrails-9af5f33a1629f16c56137e2b9903bc977455075f.tar.gz
rails-9af5f33a1629f16c56137e2b9903bc977455075f.tar.bz2
rails-9af5f33a1629f16c56137e2b9903bc977455075f.zip
Fix the example (for realz)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/CHANGELOG.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index c774cf8373..ce0a644520 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -5,7 +5,7 @@
class ApplicationController < ActionController::Base
before_action :authenticate
- protect_from_forgery prepend: true, unless: -> { @authenticated_by.oauth? }
+ protect_from_forgery prepend: false, unless: -> { @authenticated_by.oauth? }
private
def authenticate