]> git.openstreetmap.org Git - rails.git/blob - app/controllers/messages/muted_inboxes_controller.rb
Merge remote-tracking branch 'upstream/pull/5457'
[rails.git] / app / controllers / messages / muted_inboxes_controller.rb
1 module Messages
2   class MutedInboxesController < MailboxesController
3     # Display the list of muted messages received by the user.
4     def show
5       @title = t ".title"
6
7       redirect_to messages_inbox_path if current_user.muted_messages.none?
8     end
9   end
10 end