# Requires require "active_support/dependencies" module Manage # Our host application root path # We set this when the engine is initialized mattr_accessor :app_root # Yield self on setup for nice config blocks def self.setup yield self end end def export_dir if has_asset_pipeline? "app/assets/javascripts/manage" else "public/javascripts" end end def javascript_file Rails.root.join(export_dir, "si.manage.js") end require "manage/engine"