diff options
author | Azul <azul@riseup.net> | 2016-05-18 21:00:42 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-05-20 16:35:55 +0200 |
commit | e542a3056c27fd662ef767b6720861035f6dbb1c (patch) | |
tree | 45d0d16069a7820a58583423956c8cc4f5f64819 /config/initializers/secret_token.rb | |
parent | 83f59164fc069f2593cf6babbc18638d9a68c9a3 (diff) |
api: set defaults for version in routes
This way we do not need to specify it all the times.
In the functional tests defaults do not get added automatically.
Introduced api_{get,put,post,delete} to add format and version default.
One to two functional tests failing, everything else passes.
Diffstat (limited to 'config/initializers/secret_token.rb')
0 files changed, 0 insertions, 0 deletions