add error pages
[arvados.git] / config / routes.rb
index 92a58bdca3e21f06ec22e9b76da750bfce094981..04c0e218e530ebc3394f558e84924eacf4027abe 100644 (file)
@@ -1,4 +1,10 @@
 Vcffarm::Application.routes.draw do
+  resources :factory_jobs
+
+
+  resources :uploaded_datasets
+
+
   resources :projects
 
 
@@ -17,6 +23,11 @@ Vcffarm::Application.routes.draw do
   resources :collections
 
 
+  # Send unroutable requests to an arbitrary controller
+  # (ends up at ApplicationController#render_not_found)
+  match '*a', :to => 'metadata#render_not_found'
+
+
   # The priority is based upon order of creation:
   # first created -> highest priority.