Simplified the grid and list view of packages
This commit is contained in:
parent
728a9a952f
commit
bc774c8b65
3 changed files with 31 additions and 21 deletions
|
|
@ -1,6 +1,9 @@
|
|||
Debshots::Application.routes.draw do
|
||||
#get "packages/index"
|
||||
get "packages" => "packages#index"
|
||||
#get "packages" => "packages#index"
|
||||
#get "packages/:page/:display" => "packages#index"
|
||||
get "packages(/:page(/:display))" => "packages#index", defaults: { page: 1, display: 'grid' }
|
||||
#get "packages(/:display)", to: "packages#index", defaults: { display: 'grid' }
|
||||
get "packages/with_screenshots"
|
||||
get "packages/without_screenshots"
|
||||
get "packages/moderate"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue