Sha256: 56c53870c5b4a9cc8d973c25320d7e83e27e1be336781a2eba842eebfca91478
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
FcrepoAdmin::Engine.routes.draw do datastreams_resources = [:index, :show] datastreams_resources += [:edit, :update] unless FcrepoAdmin.read_only 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 => datastreams_resources do member do get 'content' get 'upload' unless FcrepoAdmin.read_only get 'download' => 'download#show' get 'history' end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fcrepo_admin-0.5.5 | config/routes.rb |
fcrepo_admin-0.5.5.pre | config/routes.rb |