mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Rename app internally from PlanCharacters to Notebook
This commit is contained in:
parent
e3f3c02ea4
commit
227a56c555
2
app/services/service.rb
Normal file
2
app/services/service.rb
Normal file
@ -0,0 +1,2 @@
|
||||
class Service
|
||||
end
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user