Sha256: 9050b570569616c98fdb6ccefccf4acc1148665808aad1a201a430f2cca17e4b
Contents?: true
Size: 438 Bytes
Versions: 77
Compression:
Stored size: 438 Bytes
Contents
# frozen_string_literal: true namespace :messaging do namespace :internal do resources :messages, only: [:new, :create] do resources :receipts, only: [] do patch :mark_as_read, on: :member end end scope :messages do get "inbox", to: "receipts#unread", as: :inbox get "read", to: "receipts#read", as: :read_receipts get "sent", to: "receipts#sent", as: :sent_messages end end end
Version data entries
77 entries across 77 versions & 1 rubygems