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