diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-01-22 17:08:55 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-01-22 17:14:43 +0900 |
commit | 82deb768820e5875c2dc11a4978402b1a13c5b40 (patch) | |
tree | 207b22ac4a1cc08e57dc717e64fd375b1b273512 /railties/test | |
parent | 5d9e923d279f26e117d68d442e5c88a33341fe67 (diff) | |
download | rails-82deb768820e5875c2dc11a4978402b1a13c5b40.tar.gz rails-82deb768820e5875c2dc11a4978402b1a13c5b40.tar.bz2 rails-82deb768820e5875c2dc11a4978402b1a13c5b40.zip |
remove `per_form_csrf_tokens` initializer from Rails API
Because the form is not in the Rails API,
`per_form_csrf_tokens` initializer I think unnecessary.
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/api_app_generator_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/generators/api_app_generator_test.rb b/railties/test/generators/api_app_generator_test.rb index 2c24a6e46a..d9eb7770f3 100644 --- a/railties/test/generators/api_app_generator_test.rb +++ b/railties/test/generators/api_app_generator_test.rb @@ -89,6 +89,7 @@ class ApiAppGeneratorTest < Rails::Generators::TestCase config/initializers/cookies_serializer.rb config/initializers/session_store.rb config/initializers/request_forgery_protection.rb + config/initializers/per_form_csrf_tokens.rb lib/assets vendor/assets test/helpers |