config/routes.rb in curate-0.2.0 vs config/routes.rb in curate-0.3.1

- old
+ new

@@ -21,18 +21,21 @@ path: 'container/:parent_id/generic_files' ) resources( :generic_files, only: [:show, :edit, :update, :destroy] - ){ - get :versions - put :rollback - } + ) do + member do + get :versions + put :rollback + end + end end resources :terms_of_service_agreements, only: [:new, :create] resources :help_requests, only: [:new, :create] resources :classify_concerns, only: [:new, :create] + resources :welcome, only: [:new, :index] match "show/:id" => "common_objects#show", via: :get, as: "common_object" match "show/stub/:id" => "common_objects#show_stub_information", via: :get, as: "common_object_stub_information" root to: 'welcome#index'