]> git.openstreetmap.org Git - rails.git/blob - app/controllers/api/messages/inboxes_controller.rb
Don't remove-readd standard layer when layerParam is not empty in map.updateLayers
[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