Move the user api methods into a separate controller in the api namespace
authorAndy Allan <git@gravitystorm.co.uk>
Sun, 24 Feb 2019 13:34:15 +0000 (14:34 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 28 Feb 2019 16:12:28 +0000 (17:12 +0100)
commit4b4c5aac2f6e338fb043cd4d2a031c4bd6ee1b05
tree7b74d8ec7959fe92a825c968165ab120a2acc584
parentb38343e5bd95230c6bb2159700102dbca247fa03
Move the user api methods into a separate controller in the api namespace
app/controllers/api/users_controller.rb [new file with mode: 0644]
app/controllers/users_controller.rb
app/views/api/users/_api_user.builder [moved from app/views/users/_api_user.builder with 100% similarity]
app/views/api/users/api_read.builder [moved from app/views/users/api_read.builder with 100% similarity]
app/views/api/users/api_users.builder [moved from app/views/users/api_users.builder with 100% similarity]
config/routes.rb
test/controllers/api/users_controller.rb [new file with mode: 0644]
test/controllers/users_controller_test.rb