Sha256: 79b51d3ebbe3690b6e212cba8d6c1154cda0995d78069f15b78ef79272babb1f

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

Cmor::Files::Backend::Engine.routes.draw do
  resources :attachments do
    post :destroy_many, on: :collection
  end

  resources :folders do
    acts_as_list
    acts_as_published
    post :destroy_many, on: :collection
    post :unpublish_many, on: :collection
    post :publish_many, on: :collection
  end

  resources :file_details, except: [:new, :create] do
    acts_as_list
    acts_as_published
    post :destroy_many, on: :collection
    post :unpublish_many, on: :collection
    post :publish_many, on: :collection
  end

  root to: 'home#index'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cmor_files_backend-0.0.60.pre config/routes.rb
cmor_files_backend-0.0.59.pre config/routes.rb
cmor_files_backend-0.0.58.pre config/routes.rb
cmor_files_backend-0.0.57.pre config/routes.rb
cmor_files_backend-0.0.56.pre config/routes.rb
cmor_files_backend-0.0.55.pre config/routes.rb