Permalink
Browse files

rename module Euro2012 to Wettpool

  • Loading branch information...
geraldb committed Apr 1, 2012
1 parent 0c32325 commit a62a5cc126af6c212f37f244175a84bc79d3bf34
View
@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
-Euro2012::Application.load_tasks
+Wettpool::Application.load_tasks
View
@@ -20,7 +20,6 @@
## Cleanup
-* Rename module Euro2012 to Wettpool (to match new project name)
* Move error_messages to shared partial
* Use fmt_date helper for date display
@@ -39,4 +38,6 @@
* add PlayersController (nested inside pool)
* todo/fix: pass in play.id NOT user.id in PlaysControllerRoutes!
** make play controller top level (no need to nest inside pool??)
- ** search for pool_play_path, pool_plays_path,etc.
+ ** search for pool_play_path, pool_plays_path,etc.
+* Rename module Euro2012 to Wettpool (to match new project name)
+
View
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run Euro2012::Application
+run Wettpool::Application
View
@@ -12,7 +12,7 @@
# Bundler.require(:default, :assets, Rails.env)
end
-module Euro2012
+module Wettpool
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
View
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-Euro2012::Application.initialize!
+Wettpool::Application.initialize!
@@ -1,4 +1,4 @@
-Euro2012::Application.configure do
+Wettpool::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
@@ -1,4 +1,4 @@
-Euro2012::Application.configure do
+Wettpool::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
@@ -1,4 +1,4 @@
-Euro2012::Application.configure do
+Wettpool::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
@@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
-Euro2012::Application.config.secret_token = '401b16155e61e58734017af93b950ba094a8b79c5b90c6c1f5db97d49b2ec09e1a142e6b605cd74ba62b6db3f9465ce3a28db2b9a91a6a378e37c0588cdda4b0'
+Wettpool::Application.config.secret_token = '401b16155e61e58734017af93b950ba094a8b79c5b90c6c1f5db97d49b2ec09e1a142e6b605cd74ba62b6db3f9465ce3a28db2b9a91a6a378e37c0588cdda4b0'
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-Euro2012::Application.config.session_store :cookie_store, key: '_euro2012_session'
+Wettpool::Application.config.session_store :cookie_store, key: '_wettpool_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
-# Euro2012::Application.config.session_store :active_record_store
+# Wettpool::Application.config.session_store :active_record_store
View
@@ -1,4 +1,4 @@
-Euro2012::Application.routes.draw do
+Wettpool::Application.routes.draw do
match 'signin', :to => 'sessions#new'
match 'signout', :to => 'sessions#destroy'

0 comments on commit a62a5cc

Please sign in to comment.