[openstreetmap/openstreetmap-website] Add OldElementsController base class (PR #5464)

Anton Khorev notifications at github.com
Sat Jan 4 14:47:07 UTC 2025


You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5464

-- Commit Summary --

  * Add OldElementsController base class
  * Move element version actions template to old elements directory
  * Move browse history template to old elements directory
  * Move history_title_html locale string to old_elements
  * Move redacted version locale strings to old_elements

-- File Changes --

    A app/controllers/old_elements_controller.rb (19)
    M app/controllers/old_nodes_controller.rb (21)
    M app/controllers/old_relations_controller.rb (21)
    M app/controllers/old_ways_controller.rb (21)
    R app/views/old_elements/_actions.html.erb (4)
    R app/views/old_elements/index.html.erb (4)
    M app/views/old_nodes/show.html.erb (2)
    M app/views/old_relations/show.html.erb (2)
    M app/views/old_ways/show.html.erb (2)
    M config/locales/en.yml (16)
    M test/controllers/old_nodes_controller_test.rb (6)
    M test/controllers/old_relations_controller_test.rb (6)
    M test/controllers/old_ways_controller_test.rb (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5464.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5464.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5464
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5464 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250104/0cf36671/attachment.htm>


More information about the rails-dev mailing list