Skip to content

Commit

Permalink
Switch app name from OhExcusesApp2 to OhExcusesApp
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmilner committed Mar 25, 2012
1 parent a81ff62 commit a6ebe19
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -4,4 +4,4 @@


require File.expand_path('../config/application', __FILE__) require File.expand_path('../config/application', __FILE__)


OhExcusesApp2::Application.load_tasks OhExcusesApp::Application.load_tasks
2 changes: 1 addition & 1 deletion config.ru
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application. # This file is used by Rack-based servers to start the application.


require ::File.expand_path('../config/environment', __FILE__) require ::File.expand_path('../config/environment', __FILE__)
run OhExcusesApp2::Application run OhExcusesApp::Application
2 changes: 1 addition & 1 deletion config/application.rb
Expand Up @@ -9,7 +9,7 @@
# Bundler.require(:default, :assets, Rails.env) # Bundler.require(:default, :assets, Rails.env)
end end


module OhExcusesApp2 module OhExcusesApp
class Application < Rails::Application class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here. # Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers # Application configuration should go into files in config/initializers
Expand Down
2 changes: 1 addition & 1 deletion config/environment.rb
Expand Up @@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__) require File.expand_path('../application', __FILE__)


# Initialize the rails application # Initialize the rails application
OhExcusesApp2::Application.initialize! OhExcusesApp::Application.initialize!
2 changes: 1 addition & 1 deletion config/environments/development.rb
@@ -1,4 +1,4 @@
OhExcusesApp2::Application.configure do OhExcusesApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb # Settings specified here will take precedence over those in config/application.rb


# In the development environment your application's code is reloaded on # In the development environment your application's code is reloaded on
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
@@ -1,4 +1,4 @@
OhExcusesApp2::Application.configure do OhExcusesApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb # Settings specified here will take precedence over those in config/application.rb


# Code is not reloaded between requests # Code is not reloaded between requests
Expand Down
2 changes: 1 addition & 1 deletion config/environments/test.rb
@@ -1,4 +1,4 @@
OhExcusesApp2::Application.configure do OhExcusesApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb # Settings specified here will take precedence over those in config/application.rb


# The test environment is used exclusively to run your application's # The test environment is used exclusively to run your application's
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Expand Up @@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid! # If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random, # Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks. # no regular words or you'll be exposed to dictionary attacks.
OhExcusesApp2::Application.config.secret_token = '364e95258043b12ad4564972c91e87f96e5216ea14b156572655d1e817ba048928ccde3581e9926c751bd1204a302d23cf1f9e4b7cbeeef09c6dcd0c35831289' OhExcusesApp::Application.config.secret_token = '364e95258043b12ad4564972c91e87f96e5216ea14b156572655d1e817ba048928ccde3581e9926c751bd1204a302d23cf1f9e4b7cbeeef09c6dcd0c35831289'
4 changes: 2 additions & 2 deletions config/initializers/session_store.rb
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file. # Be sure to restart your server when you modify this file.


OhExcusesApp2::Application.config.session_store :cookie_store, key: '_OhExcusesApp2_session' OhExcusesApp::Application.config.session_store :cookie_store, key: '_OhExcusesApp_session'


# Use the database for sessions instead of the cookie-based default, # Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information # which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration") # (create the session table with "rails generate session_migration")
# OhExcusesApp2::Application.config.session_store :active_record_store # OhExcusesApp::Application.config.session_store :active_record_store
2 changes: 1 addition & 1 deletion config/routes.rb
@@ -1,4 +1,4 @@
OhExcusesApp2::Application.routes.draw do OhExcusesApp::Application.routes.draw do


# pages_controller # pages_controller
get '/robert' => 'pages#robert', :as => :app_robert get '/robert' => 'pages#robert', :as => :app_robert
Expand Down

0 comments on commit a6ebe19

Please sign in to comment.