Skip to content

Commit

Permalink
Rename application from Openfoodweb to Openfoodnetwork
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanM committed Oct 18, 2013
1 parent 57f7d48 commit e47fa0e
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

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

Openfoodweb::Application.load_tasks
Openfoodnetwork::Application.load_tasks
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run Openfoodweb::Application
run Openfoodnetwork::Application
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Bundler.require(:default, :assets, Rails.env)
end

module Openfoodweb
module Openfoodnetwork
class Application < Rails::Application

config.to_prepare do
Expand Down
2 changes: 1 addition & 1 deletion config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require File.expand_path('../application', __FILE__)

# Initialize the rails application
Openfoodweb::Application.initialize!
Openfoodnetwork::Application.initialize!

ActiveRecord::Base.include_root_in_json = true
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Openfoodweb::Application.configure do
Openfoodnetwork::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
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Openfoodweb::Application.configure do
Openfoodnetwork::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# Code is not reloaded between requests
Expand Down
2 changes: 1 addition & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Openfoodweb::Application.configure do
Openfoodnetwork::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# Code is not reloaded between requests
Expand Down
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Openfoodweb::Application.configure do
Openfoodnetwork::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
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Openfoodweb::Application.config.secret_token = '6d784d49173d0ec820f20cfce151717bd12570e9d261460e9d3c295b90c1fd81e3843eb1bec79d9e6d4a7f04d0fd76170ca0c326ffb0f2da5b7a0b50c7442a4c'
Openfoodnetwork::Application.config.secret_token = '6d784d49173d0ec820f20cfce151717bd12570e9d261460e9d3c295b90c1fd81e3843eb1bec79d9e6d4a7f04d0fd76170ca0c326ffb0f2da5b7a0b50c7442a4c'
4 changes: 2 additions & 2 deletions config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.

Openfoodweb::Application.config.session_store :cookie_store, key: '_openfoodweb_session'
Openfoodnetwork::Application.config.session_store :cookie_store, key: '_openfoodweb_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")
# Openfoodweb::Application.config.session_store :active_record_store
# Openfoodnetwork::Application.config.session_store :active_record_store
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Openfoodweb::Application.routes.draw do
Openfoodnetwork::Application.routes.draw do
root :to => 'home#temp_landing_page'

resources :enterprises do
Expand Down

0 comments on commit e47fa0e

Please sign in to comment.