Rename application from Openfoodweb to Openfoodnetwork

This commit is contained in:
Rohan Mitchell
2013-10-18 17:32:22 +11:00
parent 57f7d489ff
commit e47fa0edfd
11 changed files with 12 additions and 12 deletions

View File

@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
Openfoodweb::Application.load_tasks
Openfoodnetwork::Application.load_tasks

View File

@@ -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

View File

@@ -9,7 +9,7 @@ if defined?(Bundler)
# Bundler.require(:default, :assets, Rails.env)
end
module Openfoodweb
module Openfoodnetwork
class Application < Rails::Application
config.to_prepare do

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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'

View File

@@ -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

View File

@@ -1,4 +1,4 @@
Openfoodweb::Application.routes.draw do
Openfoodnetwork::Application.routes.draw do
root :to => 'home#temp_landing_page'
resources :enterprises do