lib/phcpresspro/engine.rb in phcpresspro-43.0.0 vs lib/phcpresspro/engine.rb in phcpresspro-44.0.0
- old
+ new
@@ -1,11 +1,11 @@
module Phcpresspro
class Engine < ::Rails::Engine
# Main Dependencies
+ require 'phcaccountspro'
require 'paper_trail'
- require 'phcaccountspro'
# PHCEngines & Theme Dependencies
require 'phcnotifi'
require 'phctitleseo'
@@ -37,11 +37,11 @@
require 'cloudinary'
# Isolate Namespace
isolate_namespace Phcpresspro
- # Testing Generator
+ # Testing Generator
config.generators do |g|
g.test_framework :rspec,
fixtures: true,
view_specs: false,
helper_specs: false,
@@ -51,10 +51,9 @@
g.fixture_replacement :factory_bot, dir: "spec/factories"
end
# Load Requried Helper Files
config.to_prepare do
- Phcaccountspro::ApplicationController.helper(ApplicationHelper)
Phcnotifi::ApplicationController.helper(ApplicationHelper)
Phctitleseo::ApplicationController.helper(ApplicationHelper)
end
# Load Language Files