config/routes.rb in fcrepo_admin-0.3.5 vs config/routes.rb in fcrepo_admin-0.4.0
- old
+ new
@@ -1,11 +1,16 @@
FcrepoAdmin::Engine.routes.draw do
scope :module => "fcrepo_admin" do
resources :objects, :only => :show do
- get 'audit_trail', :on => :member
- resources :datastreams, :only => [:show, :edit, :update] 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'
end
end
end