]> git.openstreetmap.org Git - rails.git/commit
Show deleted diary entries to administrators, if the user isn't also deleted
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 5 Jun 2019 13:30:08 +0000 (15:30 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Thu, 6 Jun 2019 13:59:47 +0000 (15:59 +0200)
commit49fc17c6b6f60eba8737fcde85bd679d1b6de8c1
treebfc25640457888a9939b089cd3cfeff357b528f8
parentf2f3fbb1f19ad3cb26a3623d7af3d90e1f7a7caa
Show deleted diary entries to administrators, if the user isn't also deleted

This will allow administrators to review diary entry deletions from non-spam users.
app/controllers/diary_entries_controller.rb
app/views/diary_entries/_diary_entry.html.erb
test/system/diary_entry_test.rb