houdini/gems/grape_devise/spec/dummy/config/application.rb

15 lines
342 B
Ruby
Raw Normal View History

require File.expand_path('../boot', __FILE__)
require 'rails/all'
#require '../..app/models/user'
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