Sha256: fa347aa245c7ce543ede7b4443863c3881b8bd703346a84af7b30790eba125ae

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

Rails.application.routes.draw do
  resources :notifications, only: [:index, :show], defaults: { format: :json } do
    patch :mark_as_read, on: :member
    patch :mark_all_as_read, on: :collection
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wupee-2.0.0.beta2 spec/dummy/config/routes.rb