lib/phcmemberspro/engine.rb in phcmemberspro-12.1.1 vs lib/phcmemberspro/engine.rb in phcmemberspro-12.1.2

- old
+ new

@@ -1,39 +1,45 @@ module Phcmemberspro class Engine < ::Rails::Engine - # Load Security + # Main Dependencies require 'authrocket' require 'paper_trail' - # Main Dependencies - require 'phcadmin2' - require 'phcaccountspro' + # PHCEngines & Theme Dependencies require 'phcnotifi' require 'phctitleseo' - - # Data - require 'country_select' + require 'phctheme1' + require 'phcadmin2' + require 'phcaccountspro' - # UI Dependencies + # UI & Frontend Dependencies require 'jquery-rails' require 'jquery-ui-rails' require 'sass-rails' require 'bootstrap-sass' require 'font-awesome-rails' + require 'country_select' require 'gravtastic' # API Dependencies require 'rabl' require 'oj' - - # Misc + require 'multi_json' require 'responders' + # WYSIWYG Editor Dependencies + require 'summernote-rails' + require 'codemirror-rails' + + # Upload & Media Dependencies + require 'carrierwave' + require 'cloudinary' + # Isolate Namespace isolate_namespace Phcmemberspro - + # Testing Generator config.generators do |g| g.test_framework :rspec, fixtures: true, view_specs: false, @@ -44,9 +50,11 @@ g.fixture_replacement :factory_girl, dir: "spec/factories" end # Load Requried Helper Files config.to_prepare do + ApplicationController.helper(ApplicationHelper) + Phcaccountspro::ApplicationController.helper(ApplicationHelper) Phcnotifi::ApplicationController.helper(ApplicationHelper) Phctitleseo::ApplicationController.helper(ApplicationHelper) end end