Sha256: df0554fa28543b65e7eca866d1585a037670d5c4bfce50209f0ffa90267f23ec

Contents?: true

Size: 285 Bytes

Versions: 23

Compression:

Stored size: 285 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
  delete 'attachments/:id' => 'attachments#destroy', as: :destroy_attachment
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
brightcontent-attachments-2.0.33 config/routes.rb
brightcontent-attachments-2.0.31 config/routes.rb
brightcontent-attachments-2.0.30 config/routes.rb
brightcontent-attachments-2.0.29 config/routes.rb
brightcontent-attachments-2.0.28 config/routes.rb
brightcontent-attachments-2.0.27 config/routes.rb
brightcontent-attachments-2.0.26 config/routes.rb
brightcontent-attachments-2.0.25 config/routes.rb
brightcontent-attachments-2.0.24 config/routes.rb
brightcontent-attachments-2.0.23 config/routes.rb
brightcontent-attachments-2.0.22 config/routes.rb
brightcontent-attachments-2.0.21 config/routes.rb
brightcontent-attachments-2.0.20 config/routes.rb
brightcontent-attachments-2.0.19 config/routes.rb
brightcontent-attachments-2.0.18 config/routes.rb
brightcontent-attachments-2.0.17 config/routes.rb
brightcontent-attachments-2.0.16 config/routes.rb
brightcontent-attachments-2.0.15 config/routes.rb
brightcontent-attachments-2.0.14 config/routes.rb
brightcontent-attachments-2.0.13 config/routes.rb