Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change application namespace from Epdx to Citizenry to avoid the clas…

…sic "name of the website vs. name of the open source project" issues
  • Loading branch information...
commit f56ebd78b303d0c69c7980be27c1d9b4363f7b0f 1 parent acf0e05
@reidab authored
View
2  Rakefile
@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
require 'rake'
-Epdx::Application.load_tasks
+Citizenry::Application.load_tasks
View
2  config.ru
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
-run Epdx::Application
+run Citizenry::Application
View
2  config/application.rb
@@ -6,7 +6,7 @@
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
-module Epdx
+module Citizenry
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  config/environment.rb
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-Epdx::Application.initialize!
+Citizenry::Application.initialize!
View
2  config/environments/development.rb
@@ -1,4 +1,4 @@
-Epdx::Application.configure do
+Citizenry::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# In the development environment your application's code is reloaded on
View
2  config/environments/production.rb
@@ -1,4 +1,4 @@
-Epdx::Application.configure do
+Citizenry::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# The production environment is meant for finished, "live" apps.
View
2  config/environments/test.rb
@@ -1,4 +1,4 @@
-Epdx::Application.configure do
+Citizenry::Application.configure do
# Settings specified here will take precedence over those in config/environment.rb
# The test environment is used exclusively to run your application's
View
2  config/initializers/secret_token.rb
@@ -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.
-Epdx::Application.config.secret_token = 'c63463de2c67e13400b5ee30329a12e6d95df8e7a24112c4420ceb0b540829cdcfa48cd1d54d9dff3cc89c552013cf9f5aab7dd2539291d9355bc2069367bafe'
+Citizenry::Application.config.secret_token = 'c63463de2c67e13400b5ee30329a12e6d95df8e7a24112c4420ceb0b540829cdcfa48cd1d54d9dff3cc89c552013cf9f5aab7dd2539291d9355bc2069367bafe'
View
4 config/initializers/session_store.rb
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-Epdx::Application.config.session_store :cookie_store, :key => '_epdx_session'
+Citizenry::Application.config.session_store :cookie_store, :key => '_citizenry_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 "rake db:sessions:create")
-# Epdx::Application.config.session_store :active_record_store
+# Citizenry::Application.config.session_store :active_record_store
View
2  config/routes.rb
@@ -1,4 +1,4 @@
-Epdx::Application.routes.draw do
+Citizenry::Application.routes.draw do
root :to => "site#index"
Please sign in to comment.
Something went wrong with that request. Please try again.