[openstreetmap/openstreetmap-website] Allow users to delete their own diary entries (PR #4540)
Tom Hughes
notifications at github.com
Sun Feb 25 11:05:30 UTC 2024
Fixes #4175
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4540
-- Commit Summary --
* Test unhide abilities as well as hide
* Allow users to delete their own diary entries
-- File Changes --
M app/abilities/ability.rb (4)
M app/controllers/application_controller.rb (2)
M app/controllers/diary_entries_controller.rb (23)
M app/models/diary_entry.rb (1)
M app/views/diary_entries/_diary_entry.html.erb (6)
M config/locales/en.yml (4)
M test/abilities/abilities_test.rb (10)
M test/controllers/diary_entries_controller_test.rb (24)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4540.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4540.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4540
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4540 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240225/5287a927/attachment.htm>
More information about the rails-dev
mailing list