Sha256: e5d9f32159485f744cb41880b9a63dd3f13176b5bdcfe9e5abd6ff3d6852b7e3
Contents?: true
Size: 346 Bytes
Versions: 22
Compression:
Stored size: 346 Bytes
Contents
Brightcontent::Engine.routes.draw do get 'attachments/:type/:id' => 'attachments#show', as: :attachments post 'attachments/:type/:id/reposition' => 'attachments#reposition' match 'attachments' => 'attachments#create', as: :new_attachment, via: [:put, :patch] delete 'attachments/:id' => 'attachments#destroy', as: :destroy_attachment end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
brightcontent-attachments-2.1.3 | config/routes.rb |
brightcontent-attachments-2.1.2 | config/routes.rb |