Packages controller added
This commit is contained in:
parent
f28c637d10
commit
c2a695aec0
15 changed files with 110 additions and 1 deletions
|
|
@ -1,9 +1,16 @@
|
|||
Debshots::Application.routes.draw do
|
||||
#get "packages/index"
|
||||
get "packages" => "packages#index"
|
||||
get "packages/with_screenshots"
|
||||
get "packages/without_screenshots"
|
||||
get "packages/moderate"
|
||||
get "welcome/index"
|
||||
# The priority is based upon order of creation: first created -> highest priority.
|
||||
# See how all your routes lay out with "rake routes".
|
||||
|
||||
# You can have the root of your site routed with "root"
|
||||
# root 'welcome#index'
|
||||
root to: "welcome#index"
|
||||
|
||||
# Example of regular route:
|
||||
# get 'products/:id' => 'catalog#view'
|
||||
|
|
@ -39,7 +46,7 @@ Debshots::Application.routes.draw do
|
|||
# get 'recent', on: :collection
|
||||
# end
|
||||
# end
|
||||
|
||||
|
||||
# Example resource route with concerns:
|
||||
# concern :toggleable do
|
||||
# post 'toggle'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue