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.6.0 config/routes.rb
brightcontent-attachments-2.5.1 config/routes.rb
brightcontent-attachments-2.5.0 config/routes.rb
brightcontent-attachments-2.4.6 config/routes.rb
brightcontent-attachments-2.4.5 config/routes.rb
brightcontent-attachments-2.4.4 config/routes.rb
brightcontent-attachments-2.4.3 config/routes.rb
brightcontent-attachments-2.4.2 config/routes.rb
brightcontent-attachments-2.4.1 config/routes.rb
brightcontent-attachments-2.4.0 config/routes.rb
brightcontent-attachments-2.3.4 config/routes.rb
brightcontent-attachments-2.3.3 config/routes.rb
brightcontent-attachments-2.3.2 config/routes.rb
brightcontent-attachments-2.3.1 config/routes.rb
brightcontent-attachments-2.3.0 config/routes.rb
brightcontent-attachments-2.2.2 config/routes.rb
brightcontent-attachments-2.2.1 config/routes.rb
brightcontent-attachments-2.2.0 config/routes.rb
brightcontent-attachments-2.1.5 config/routes.rb
brightcontent-attachments-2.1.4 config/routes.rb