Moved default page to "packages" controller.
Using a partial template to render search results. Show packages by default even without a query.
This commit is contained in:
parent
acd47f66d7
commit
f26f8a425b
5 changed files with 36 additions and 19 deletions
|
|
@ -10,7 +10,7 @@ Debshots::Application.routes.draw do
|
|||
|
||||
# You can have the root of your site routed with "root"
|
||||
# root 'welcome#index'
|
||||
root to: "welcome#index"
|
||||
root to: "packages#index"
|
||||
|
||||
# Example of regular route:
|
||||
# get 'products/:id' => 'catalog#view'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue