File upload route added
This commit is contained in:
parent
6df3df512f
commit
a5dc8630be
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ Debshots::Application.routes.draw do
|
|||
get 'packages/list' => 'packages#list', as: :packages_list
|
||||
get 'package/:name' => 'packages#details', as: :package
|
||||
get 'upload' => 'packages#upload', as: :upload_package
|
||||
get 'upload/:name' => 'packages#upload_by_name', as: :upload_package_by_name
|
||||
get 'upload/:name' => 'packages#upload', as: :upload_package_by_name
|
||||
post 'upload_image/:name' => 'packages#upload_image', as: :upload_image
|
||||
get 'about' => 'welcome#about'
|
||||
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue