Sha256: 8fc551667b336d89307e4ede7b39f994a9603bdc9708d10622ec7b94cd07ba4a

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

ImportableAttachments::Engine.routes.draw do
  root to: 'attachments#index'
  resources :versions
  resources :attachments
  match 'attachments/:id/download', action: :download, via: :get
end

Rails.application.routes.draw do
  resources :attachments, controller: 'importable_attachments/attachments'
  match 'attachments/:id/download', controller: 'importable_attachments/attachments', action: :download, via: :get
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
importable_attachments-0.0.18 config/routes.rb
importable_attachments-0.0.17 config/routes.rb
importable_attachments-0.0.15 config/routes.rb
importable_attachments-0.0.14 config/routes.rb
importable_attachments-0.0.13 config/routes.rb