2019-07-30 21:29:24 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require File.expand_path('boot', __dir__)
|
2019-02-01 19:15:35 +00:00
|
|
|
|
|
|
|
require 'rails/all'
|
2019-07-30 21:29:24 +00:00
|
|
|
# require '../..app/models/user'
|
2019-02-01 19:15:35 +00:00
|
|
|
|
|
|
|
Bundler.require(*Rails.groups)
|
|
|
|
|
|
|
|
module Dummy
|
|
|
|
class Application < Rails::Application
|
|
|
|
config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
|
|
|
config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
|
|
|
|
end
|
|
|
|
end
|