Sha256: bebbf585437c97e007a00fb14261d63ec06b0ae5255b0da11b8629a53e117f90

Contents?: true

Size: 715 Bytes

Versions: 43

Compression:

Stored size: 715 Bytes

Contents

require 'shopify_app'
require 'jquery-rails'
require 'turbolinks'
require 'activerecord/session_store'
require 'disco_app/session'
require 'jsonapi-resources'
require 'react-rails'

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/admin.css disco_app/frame.css disco_app/frame.js)
    end

  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
disco_app-0.12.7.pre.puma.pre.3 lib/disco_app/engine.rb
disco_app-0.14.0 lib/disco_app/engine.rb
disco_app-0.13.6.pre.puma.pre.3 lib/disco_app/engine.rb