Sha256: 287e3f1e8a971eb6284ef687267d400a3b70a6d0e8c0cd6e5066438b4eae0274
Contents?: true
Size: 267 Bytes
Versions: 3
Compression:
Stored size: 267 Bytes
Contents
module URB class Engine < Rails::Engine initializer :assets do |config| Rails.application.config.assets.precompile += %w(urb/urb.js) end initializer "urb.add_middleware" do |app| app.middleware.insert 0, URB::Middleware end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
urb-0.1.5 | lib/urb/engine.rb |
urb-0.1.4 | lib/urb/engine.rb |
urb-0.1.3 | lib/urb/engine.rb |