Sha256: fda9efd962f0e71ddf161f38427dd234f12f16f86988aabf7bf5649d80883e3c

Contents?: true

Size: 670 Bytes

Versions: 9

Compression:

Stored size: 670 Bytes

Contents

require 'shopify_app'
require 'bootstrap-sass'
require 'jquery-rails'
require 'turbolinks'
require 'activerecord/session_store'
require 'disco_app/session'

module DiscoApp
  class Engine < ::Rails::Engine

    isolate_namespace DiscoApp
    engine_name 'disco_app'

    # Ensure DiscoApp helpers are available throughout application.
    config.to_prepare do
      ApplicationController.helper(DiscoApp::ApplicationHelper)
    end

    # Ensure our frame assets are included for precompilation.
    initializer 'disco_app.assets.precompile' do |app|
      app.config.assets.precompile += %w(disco_app/icon.svg disco_app/frame.css disco_app/frame.js)
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
disco_app-0.7.0 lib/disco_app/engine.rb
disco_app-0.7.1 lib/disco_app/engine.rb
disco_app-0.7.2 lib/disco_app/engine.rb
disco_app-0.8.0 lib/disco_app/engine.rb
disco_app-0.8.1 lib/disco_app/engine.rb
disco_app-0.8.2 lib/disco_app/engine.rb
disco_app-0.8.3 lib/disco_app/engine.rb
disco_app-0.8.4 lib/disco_app/engine.rb
disco_app-0.8.5 lib/disco_app/engine.rb