lib/angular-ui-rails.rb in angular-ui-rails-0.4.0 vs lib/angular-ui-rails.rb in angular-ui-rails-0.4.0.1
- old
+ new
@@ -2,12 +2,12 @@
module AngularUI
module Rails
class Engine < ::Rails::Engine
# Enabling assets precompiling under rails 3.1
- if Rails.version >= '3.1'
+ if ::Rails.version >= '3.1'
initializer :assets do |config|
- Rails.application.config.assets.precompile += %w( angular-ui-ieshiv.js )
+ ::Rails.application.config.assets.precompile += %w( angular-ui-ieshiv.js )
end
end
end
end
end