Rename app internally from PlanCharacters to Notebook

This commit is contained in:
Andrew Brown 2017-05-23 19:59:01 +00:00
parent e3f3c02ea4
commit 227a56c555
5 changed files with 8 additions and 5 deletions

2
app/services/service.rb Normal file
View File

@ -0,0 +1,2 @@
class Service
end

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 PlanCharacters::Application
run Notebook::Application

View File

@ -7,10 +7,11 @@ require 'csv'
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module PlanCharacters
module Notebook
# Default application environment configurations
class Application < Rails::Application
config.autoload_paths += Dir[Rails.root.join('app', 'models', '{*/}')]
config.autoload_paths += Dir[Rails.root.join('app', 'services', '{*/}')]
# Set Time.zone default to the specified zone and make Active Record auto-
# convert to this zone. Run "rake -D time" for a list of tasks for finding

View File

@ -1,4 +1,4 @@
PlanCharacters::Application.configure do
Notebook::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,10 +1,10 @@
# Be sure to restart your server when you modify this file.
PlanCharacters::Application
Notebook::Application
.config.session_store :cookie_store,
key: '_plan_characters_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")
# PlanCharacters::Application.config.session_store :active_record_store
# Notebook::Application.config.session_store :active_record_store