Sha256: 42106860db4664d242f9bfe4916ad25328b2acffe82b03333b462341523fd1ec

Contents?: true

Size: 438 Bytes

Versions: 1

Compression:

Stored size: 438 Bytes

Contents

module SuperInteraction
  if defined?(Rails::Engine)
    class Engine < Rails::Engine
      paths["app/views"] = "lib/super_interaction/views"

      # NOTE: 需要確認底下的程式有無作用
      # lib/super_interaction 底下並沒有 javascripts 目錄
      initializer 'beyond.assets.precompile' do |app|
        app.config.assets.paths << root.join('lib', 'super_interaction', 'javascripts').to_s
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
super_tools-3.0.1 lib/super_interaction/engine.rb