diff --git a/config/routes.rb b/config/routes.rb --- a/config/routes.rb +++ b/config/routes.rb @@ -20,6 +20,8 @@ # instead of a file named 'wsdl' map.connect ':controller/service.wsdl', :action => 'wsdl' + map.connect 'tasks/view/:file.:ext', :controller => 'tasks', :action => 'view' + # Install the default route as the lowest priority. map.connect ':controller/:action/:id.:format' map.connect ':controller/:action/:id'