Sha256: e2af989ad1790242b2d22ff5a43b48044b317a63094c9e0f032c02ec374308c8
Contents?: true
Size: 884 Bytes
Versions: 1
Compression:
Stored size: 884 Bytes
Contents
require 'rails' module Native class Railtie < Rails::Railtie initializer 'native.active_record' do ActiveSupport.on_load :active_record do include Native::Owner end end initializer 'native.action_controller' do ActiveSupport.on_load :action_controller do include NativeHelper end end initializer 'native.sprockets-rails' do Rails.application.config.assets.precompile += %w( native/android.js native/ios.js native/uwp.js native/chrome.js native/osx.js native/win32.js native/win64.js native/lin32.js native/lin64.js native/web.js native/android.css native/ios.css native/uwp.css native/chrome.css native/osx.css native/win32.css native/win64.css native/lin32.css native/lin64.css native/web.css ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
native-2.1.3 | lib/native/railtie.rb |