lib/angular-ui-rails.rb in angular-ui-rails-0.3.2 vs lib/angular-ui-rails.rb in angular-ui-rails-0.4.0

- old
+ new

@@ -1,8 +1,14 @@ require "angular-ui-rails/version" module AngularUI module Rails class Engine < ::Rails::Engine + # Enabling assets precompiling under rails 3.1 + if Rails.version >= '3.1' + initializer :assets do |config| + Rails.application.config.assets.precompile += %w( angular-ui-ieshiv.js ) + end + end end end -end \ No newline at end of file +end