]> git.openstreetmap.org Git - rails.git/blob - app/controllers/api/messages/inboxes_controller.rb
Merge remote-tracking branch 'upstream/pull/5457'
[rails.git] / app / controllers / api / messages / inboxes_controller.rb
1 module Api
2   module Messages
3     class InboxesController < MailboxesController
4       def show
5         @skip_body = true
6         @messages = Message.includes(:sender, :recipient).where(:to_user_id => current_user.id)
7
8         show_messages
9       end
10     end
11   end
12 end