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