]> git.openstreetmap.org Git - rails.git/commit
Redirect to inbox after marking a message as read/unread disregarding referer
authorAnton Khorev <tony29@yandex.ru>
Sun, 5 May 2024 12:32:47 +0000 (15:32 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sun, 5 May 2024 12:32:47 +0000 (15:32 +0300)
commit5da2957591e88bb23ca2e3670edece200e15b027
treed97457da0880729e1a90c1a6409ce1ba81a24d7e
parent4c21a09b32f3335be2c8d7c70f6b3c4adabfb63d
Redirect to inbox after marking a message as read/unread disregarding referer

Avoids staying on the message page after the "Mark as unread" button is clicked and immediately reading the message again.
app/controllers/messages_controller.rb
test/controllers/messages_controller_test.rb