6fef87f17f
Since Rails 5.0 the `protect_from_forgery` callback doesn't run first by
default anymore. [1]
Instead it gets inserted into callbacks chain where callbacks get
called in order.
This commit forces the callback to run first.
[1]: 3979403781
5 lines
106 B
YAML
5 lines
106 B
YAML
---
|
|
title: "[Rails5] Force the callback run first"
|
|
merge_request: 20055
|
|
author: "@blackst0ne"
|
|
type: fixed
|