summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-02 15:04:26 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-02 15:04:26 -0500
commit59b2dc33ea83d5d5a52a72d14213f564afe8f0ce (patch)
treed5577b43527c3bb4693d24ee6440a4e9ad92f484 /config
parent329bdda6172f119469b36b9930054489e6bd0ded (diff)
Gemfile.lock
Diffstat (limited to 'config')
-rw-r--r--config/application.rb2
-rw-r--r--config/routes.rb70
2 files changed, 2 insertions, 70 deletions
diff --git a/config/application.rb b/config/application.rb
index bf581b8..57c9163 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -12,6 +12,8 @@ module Leaguer
# Application configuration should go into files in config/initializers
# -- all .rb files in that directory are automatically loaded.
+ I18n.enforce_available_locales = true
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
# config.time_zone = 'Central Time (US & Canada)'
diff --git a/config/routes.rb b/config/routes.rb
deleted file mode 100644
index f13c891..0000000
--- a/config/routes.rb
+++ /dev/null
@@ -1,70 +0,0 @@
-Leaguer::Application.routes.draw do
- resources :pms
-
- resources :alerts
-
- resources :users
-
- resources :teams
-
- resources :matches
-
- resources :tournaments
-
- resources :servers
-
- # 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'
-
- # Example of regular route:
- # get 'products/:id' => 'catalog#view'
-
- # Example of named route that can be invoked with purchase_url(id: product.id)
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
-
- # Example resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Example resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Example resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Example resource route with more complex sub-resources:
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', on: :collection
- # end
- # end
-
- # Example resource route with concerns:
- # concern :toggleable do
- # post 'toggle'
- # end
- # resources :posts, concerns: :toggleable
- # resources :photos, concerns: :toggleable
-
- # Example resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-end