Getting the project working again
Replace Twitter Bootstrap by Zurb Foundation Used @import in SCSS instad of require_tree for proper order and use of variables like $debian_color Moved old files out of the way (renamed them to xx*) Welcome controller (/) works Moved templates from ERB to SLIM format Fixed database settings Reduced routes to working ones Tidied up Gemfile Checked in experimental lab files Tried to find a good description for this massive commit :)
This commit is contained in:
parent
a7e05b2b78
commit
87f545414f
38 changed files with 3341 additions and 156 deletions
|
|
@ -1,21 +1,26 @@
|
|||
Debshots::Application.routes.draw do
|
||||
#get "packages/index"
|
||||
#get "packages" => "packages#index"
|
||||
#get "packages/:page/:display" => "packages#index"
|
||||
get 'packages' => 'packages#index', defaults: { display: 'grid' }, as: :package_list
|
||||
#get "packages/list" => "packages#index", display: 'list', as: :package_list
|
||||
get 'packages' => 'packages#index', display: 'grid', as: :package_grid
|
||||
#get "packages(/:display)", to: "packages#index", defaults: { display: 'grid' }
|
||||
get 'packages/with_screenshots'
|
||||
get 'packages/without_screenshots'
|
||||
get 'packages/moderate'
|
||||
get 'welcome/index'
|
||||
##get "packages/index"
|
||||
##get "packages" => "packages#index"
|
||||
##get "packages/:page/:display" => "packages#index"
|
||||
#get 'packages' => 'packages#index', defaults: { display: 'grid' }, as: :package_list
|
||||
##get "packages/list" => "packages#index", display: 'list', as: :package_list
|
||||
#get 'packages' => 'packages#index', display: 'grid', as: :package_grid
|
||||
##get "packages(/:display)", to: "packages#index", defaults: { display: 'grid' }
|
||||
#get 'packages/with_screenshots'
|
||||
#get 'packages/without_screenshots'
|
||||
#get 'packages/moderate'
|
||||
#get 'welcome/index'
|
||||
|
||||
get 'packages' => 'packages#index'
|
||||
get 'package/:name' => 'packages#details', as: :package
|
||||
get 'upload/:packagename' => 'packages#upload', as: :upload_package
|
||||
|
||||
# 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: 'packages#index'
|
||||
root 'welcome#home'
|
||||
#root to: 'packages#home'
|
||||
|
||||
# Example of regular route:
|
||||
# get 'products/:id' => 'catalog#view'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue