Sha256: afd0ce361c5ea5004f0de10d882a24cc985041bb2139003b264e4c48d1b3c347

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

FcrepoAdmin::Engine.routes.draw do

  scope :module => "fcrepo_admin" do
    resources :objects, :only => :show do
      member do
        get 'audit_trail'
        get 'permissions'
      end
      resources :associations, :only => [:index, :show]
      resources :datastreams, :only => [:index, :show, :edit, :update] do
        member do
          get 'content'
          get 'upload'
          get 'download'
          get 'history'
        end
      end
    end
  end
    
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fcrepo_admin-0.4.1 config/routes.rb