Sha256: 8bf6ce9f1b4377f473bb3de0b72425b334258674e7bd0d959223169d3b9499a8

Contents?: true

Size: 698 Bytes

Versions: 4

Compression:

Stored size: 698 Bytes

Contents

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

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

4 entries across 4 versions & 1 rubygems

Version Path
disco_app-0.8.6 lib/disco_app/engine.rb
disco_app-0.8.7 lib/disco_app/engine.rb
disco_app-0.8.8 lib/disco_app/engine.rb
disco_app-0.8.9 lib/disco_app/engine.rb