[openstreetmap/openstreetmap-website] Move diary comment action to comments controller (PR #4978)

Anton Khorev notifications at github.com
Fri Jul 12 14:49:13 UTC 2024


Continues #4905.

Supersedes #4634.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add new diary comment template
  * Move diary comment action to comments controller

-- File Changes --

    M app/abilities/ability.rb (3)
    M app/controllers/diary_comments_controller.rb (33)
    M app/controllers/diary_entries_controller.rb (31)
    A app/views/diary_comments/new.html.erb (12)
    M app/views/diary_entries/show.html.erb (2)
    M config/locales/en.yml (2)
    M config/routes.rb (2)
    M test/controllers/diary_comments_controller_test.rb (111)
    M test/controllers/diary_entries_controller_test.rb (111)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list