]> git.openstreetmap.org Git - rails.git/commit
Rename api_notes resource to avoid conflict with non-API resource
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 25 Jan 2023 19:01:57 +0000 (19:01 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 25 Jan 2023 19:01:57 +0000 (19:01 +0000)
commitf7367baa6b6091df3eabbe8b7a4b99e3fa314743
treed22b366946d136c273fd41afb0075a1b0d1faba2
parente443d99edd9c9b68d6c0fa41b028bb9a5cdb07c5
Rename api_notes resource to avoid conflict with non-API resource

This allows using e.g. note_path for notes#show in the future.
app/views/api/notes/_note.gpx.builder
app/views/api/notes/_note.json.jbuilder
app/views/api/notes/_note.rss.builder
app/views/api/notes/_note.xml.builder
app/views/browse/note.html.erb
config/routes.rb
test/controllers/api/notes_controller_test.rb