Added dummy package upload actions and routing

This commit is contained in:
Christoph Haas 2014-12-01 00:14:35 +01:00
parent 743579dc59
commit 2b32fe58e9
2 changed files with 9 additions and 1 deletions

View file

@ -14,7 +14,8 @@ Debshots::Application.routes.draw do
get 'packages' => 'packages#grid', as: :packages_grid
get 'packages/list' => 'packages#list', as: :packages_list
get 'package/:name' => 'packages#details', as: :package
get 'upload/:name' => 'packages#upload', as: :upload_package
get 'upload' => 'packages#upload', as: :upload_package
get 'upload/:name' => 'packages#upload_by_name', as: :upload_package_by_name
get 'about' => 'welcome#about'
# The priority is based upon order of creation: first created -> highest priority.