]> git.openstreetmap.org Git - rails.git/commit
Move the permissions call out of api_controller
authorAndy Allan <git@gravitystorm.co.uk>
Sat, 23 Feb 2019 15:06:30 +0000 (16:06 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Sun, 24 Feb 2019 10:00:28 +0000 (11:00 +0100)
commit8383fd0928a3a431dc58c48d42bf1d19bc43ea34
tree21a7747f291131466ca0577ad55b692e9806b29e
parentb96391e456fd7bddf28b8e283d74f081b5d3ec99
Move the permissions call out of api_controller
app/abilities/ability.rb
app/controllers/api/permissions_controller.rb [new file with mode: 0644]
app/controllers/api_controller.rb
app/views/api/permissions/show.builder [moved from app/views/api/permissions.builder with 100% similarity]
config/routes.rb
test/controllers/api/permissions_controller_test.rb [new file with mode: 0644]
test/controllers/api_controller_test.rb