Parameter for /upload renamed to :name
This commit is contained in:
parent
c26fa50d6c
commit
43a8ea9dd3
1 changed files with 1 additions and 1 deletions
|
|
@ -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".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue