1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
yuuji.yaginuma
cf8a41e130 remove request_forgery_protection initializer from rails api
In rails api, since default is so as not to use the `protect_from_forgery`,
`request_forgery_protection` initializer I think that's unnecessary
2015-12-06 12:41:02 +09:00
yuuji.yaginuma
8c6f7ca888 remove web-console from API app generated Gemfile 2015-07-09 17:51:30 +09:00
Jorge Bejar
cf9f2f329a Enable wrap_parameter by default in rails api applications 2015-06-11 16:54:16 -03:00
Jorge Bejar
ebcc15ca4e Add rake-cors gem (commented) in Gemfile for rails api apps 2015-06-11 16:54:16 -03:00
Santiago Pastorino
511c33a157 Add AMS 0.10.0.rc1 by default for api apps 2015-06-11 16:54:15 -03:00
Jorge Bejar
fa11f10c94 Api only apps should include tmp and vendor folders 2015-06-11 16:54:14 -03:00
Santiago Pastorino
3d3730040d Disable jbuilder for Rails API apps, meanwhile it doesn't play nicely 2015-06-11 16:54:12 -03:00
Santiago Pastorino
e9e94c1d15 Add config.api_only = true to config/application.rb when using rails new --api 2015-06-11 16:54:12 -03:00
Santiago Pastorino
decc4e8f82 Do not generate lib/assets directory for api apps 2015-06-11 16:54:12 -03:00
Santiago Pastorino
7b47e4250d Do not generate test/helpers directory for api apps 2015-06-11 16:54:11 -03:00
Santiago Pastorino
3847e485b6 Do not generate app/views directory for api apps 2015-06-11 16:54:10 -03:00
Santiago Pastorino
9b66071a3e Do not generate app/helpers directory for api apps 2015-06-11 16:54:10 -03:00
Santiago Pastorino
1718683016 Do not generate app/assets directory for api apps 2015-06-11 16:54:10 -03:00
Santiago Pastorino
c09a401660 Generate appropriate initializers for an api app 2015-06-11 16:54:10 -03:00
Santiago Pastorino
2a9cf48a61 rails new --api generates an api app skeleton 2015-06-11 16:54:10 -03:00