- changes the `/directions` route to a resource - renames the `directions#search` action to a standard `show` action - removes RuboCop's exception for action names of directions controller You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5978 -- Commit Summary -- * Create directions resource -- File Changes -- M .rubocop.yml (1) M app/abilities/ability.rb (2) M app/controllers/directions_controller.rb (10) R app/views/directions/show.html.erb (0) M config/locales/en.yml (2) M config/routes.rb (2) M test/controllers/directions_controller_test.rb (6) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5978.patch https://github.com/openstreetmap/openstreetmap-website/pull/5978.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5978 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev