Sha256: 552eaa0b0e999770764c6a2bef9370524fbd745feab66a4b5c07de7b0c264e02

Contents?: true

Size: 891 Bytes

Versions: 5

Compression:

Stored size: 891 Bytes

Contents

module PhcdevworksScripts
  class Engine < ::Rails::Engine

    # Load Main Dependencies
    require "jbuilder"
    require "paper_trail"
    require "friendly_id"

    # Load Theme Dependencies
    require "phcthemes_admin_panel_pack"
    require "phcthemes_web_theme_pack"

    # Load Helper Dependencies
    # require "phcdevworks_core"
    require "phcdevworks_active_menus"
    require "phcdevworks_notifications"
    require "phcdevworks_titleseo"

    # Load User Accounts
    require "phcdevworks_accounts"

    # Engine Namespace
    isolate_namespace PhcdevworksScripts

    # Load Requried Helper Files
    config.to_prepare do
      PhcdevworksActiveMenus::ApplicationController.helper(ApplicationHelper)
      PhcdevworksNotifications::ApplicationController.helper(ApplicationHelper)
      PhcdevworksTitleseo::ApplicationController.helper(ApplicationHelper)
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phcdevworks_scripts-2.2.0 lib/phcdevworks_scripts/engine.rb
phcdevworks_scripts-2.1.1 lib/phcdevworks_scripts/engine.rb
phcdevworks_scripts-2.1.0 lib/phcdevworks_scripts/engine.rb
phcdevworks_scripts-1.0.0 lib/phcdevworks_scripts/engine.rb
phcdevworks_scripts-0.1.0 lib/phcdevworks_scripts/engine.rb