add error pages
[arvados.git] / config / routes.rb
index c95c16c276ac7834708cdf6bb6503bf52b82aa34..04c0e218e530ebc3394f558e84924eacf4027abe 100644 (file)
@@ -23,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.