Sha256: e952a7b1684bb853d9e1ffa7c0098095598cd7432b8b61cf16c22480d7d65540

Contents?: true

Size: 208 Bytes

Versions: 4

Compression:

Stored size: 208 Bytes

Contents

Brightcontent::Engine.routes.draw do
  # TODO: put instead of create
  get 'attachments/:type/:id' => 'attachments#show', as: :attachments
  put 'attachments' => 'attachments#create', as: :new_attachment
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
brightcontent-attachments-2.0.9 config/routes.rb
brightcontent-attachments-2.0.8 config/routes.rb
brightcontent-attachments-2.0.7 config/routes.rb
brightcontent-attachments-2.0.6 config/routes.rb