Packages grid/list view are different controller actions now

This commit is contained in:
Christoph Haas 2014-11-30 19:25:21 +01:00
parent 1c59a5ac74
commit f940e96014
6 changed files with 32 additions and 31 deletions

View file

@ -11,7 +11,8 @@ Debshots::Application.routes.draw do
#get 'packages/moderate'
#get 'welcome/index'
get 'packages' => 'packages#index'
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