add error pages
[arvados.git] / config / routes.rb
index 1163ce0c7dcc212d93d8cabe23f7fb81161e30f6..04c0e218e530ebc3394f558e84924eacf4027abe 100644 (file)
@@ -1,4 +1,13 @@
 Vcffarm::Application.routes.draw do
+  resources :factory_jobs
+
+
+  resources :uploaded_datasets
+
+
+  resources :projects
+
+
   resources :specimens
 
 
@@ -14,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.