Sha256: 74b69b6980a24da312febdad473a7acecd12fb72984f1be540dce5745c8c25ef
Contents?: true
Size: 676 Bytes
Versions: 5
Compression:
Stored size: 676 Bytes
Contents
require "ende/version" module Ende class Railtie < Rails::Railtie config.to_prepare do current_dir = Pathname.new(__FILE__).parent.parent assets = Ende.assets assets.paths << current_dir.join('lib', 'assets', 'javascripts').to_s # assets.paths << current_dir.join('lib', 'assets', 'stylesheets').to_s uncomment if you use assets.paths << current_dir.join('vendor', 'assets', 'javascripts').to_s # assets.paths << current_dir.join('vendor', 'assets', 'stylesheets').to_s uncomment if you use end end def Ende.assets assets = Railtie.config.assets rescue nil assets or Rails.application.config.assets end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ende-0.1.4 | lib/ende.rb |
ende-0.1.3 | lib/ende.rb |
ende-0.1.2 | lib/ende.rb |
ende-0.1.1 | lib/ende.rb |
ende-0.0.1 | lib/ende.rb |