diff --git a/config/routes.rb b/config/routes.rb index 0047953..72ec73c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,7 +13,7 @@ Debshots::Application.routes.draw do get 'packages' => 'packages#index' get 'package/:name' => 'packages#details', as: :package - get 'upload/:packagename' => 'packages#upload', as: :upload_package + get 'upload/:name' => 'packages#upload', as: :upload_package # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes".