lib/phcscriptcdn/engine.rb in phcscriptcdn-48.0.0 vs lib/phcscriptcdn/engine.rb in phcscriptcdn-49.0.0
- old
+ new
@@ -17,10 +17,12 @@
require 'phcadmin5'
require 'phcadmin6'
require 'phcadmin7'
# PHC Helper Dependencies
+ require 'phccorehelpers'
+ require 'phcmenus'
require 'phcnotifi'
require 'phctitleseo'
# UI & URL Frontend Dependencies
require 'gravtastic'
@@ -37,11 +39,11 @@
# Security Dependencies
require 'phcaccounts'
# Isolate Namespace
- isolate_namespace Phcscriptcdn
+ isolate_namespace Phcscriptcdn
# Testing Generator
config.generators do |g|
g.test_framework :rspec,
fixtures: true,
@@ -54,9 +56,12 @@
dir: "spec/factories"
end
# Load Requried Helper Files
config.to_prepare do
+ Phcaccounts::ApplicationController.helper(ApplicationHelper)
+ Phccorehelpers::ApplicationController.helper(ApplicationHelper)
+ Phcmenus::ApplicationController.helper(ApplicationHelper)
Phcnotifi::ApplicationController.helper(ApplicationHelper)
Phctitleseo::ApplicationController.helper(ApplicationHelper)
end
end