Sha256: 5915b7ed142ef3b264b0db71def1bb3ce271d454489f2ea038a12ca03dc95d9c

Contents?: true

Size: 641 Bytes

Versions: 1

Compression:

Stored size: 641 Bytes

Contents

require 'rails'

module Native
    class Railtie < Rails::Railtie

        initializer 'native.initialize' 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 )

            ActiveSupport.on_load :active_record do
                include Native::Owner
            end
        end

    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
native-2.1.0 lib/native/railtie.rb