]> cat aescling's git repositories - mastodon.git/commit
Spec response for forgery (#3248)
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>
Thu, 1 Jun 2017 18:56:55 +0000 (03:56 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 1 Jun 2017 18:56:55 +0000 (20:56 +0200)
commit10768aa20418a5c3d547da33d80b9ebe3f34efb0
tree777447fa4ba96b3e8be51c39cec48233de472460
parente98559c3ff79ccc9b5b866c5351416dd58f2ebee
Spec response for forgery (#3248)

Remove protect_from_forgery in ApiController, which is disabled by the
following skip_before_action, as well.
app/controllers/api_controller.rb
spec/controllers/api_controller_spec.rb [new file with mode: 0644]
spec/controllers/application_controller_spec.rb