]> git.openstreetmap.org Git - rails.git/commit
Refactor trace creation pages
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Jun 2018 02:22:42 +0000 (10:22 +0800)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Jun 2018 02:22:42 +0000 (10:22 +0800)
commit57d3b3af55a0bb37eb964aa75a9f1549df9a771c
tree5ea49bbc7e16808a6946aca27f0f524eb1a49e4c
parent892c30aa8ca64d1a3e9ec9232b9ddb23bd3321d4
Refactor trace creation pages

Split the trace creation into new and create methods, with standard resourceful routing. Provide a redirect for external requests to the old url.
.rubocop_todo.yml
app/controllers/traces_controller.rb
app/views/traces/list.html.erb
app/views/traces/new.html.erb [moved from app/views/traces/create.html.erb with 100% similarity]
config/locales/en.yml
config/routes.rb
test/controllers/traces_controller_test.rb