Move models and jobs to the app setup

Follow engine conventions more closely
上级 5b7c31c2
require_relative "log_subscriber"
require "active_storage/log_subscriber"
# Abstract class serving as an interface for concrete services.
#
......
$LOAD_PATH << File.expand_path("../../app/controllers", __FILE__)
$LOAD_PATH << File.expand_path("../../app/models", __FILE__)
$LOAD_PATH << File.expand_path("../../app/jobs", __FILE__)
require "bundler/setup"
require "active_support"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册