config/routes.rb in fcrepo_admin-0.3.1 vs config/routes.rb in fcrepo_admin-0.3.2
- old
+ new
@@ -1,10 +1,15 @@
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]
+ resources :datastreams, :only => [:show, :edit, :update] do
+ member do
+ get 'upload'
+ get 'download'
+ end
+ end
end
end
end