lib/deface/action_view_extensions.rb in deface-0.5.2 vs lib/deface/action_view_extensions.rb in deface-0.5.3
- old
+ new
@@ -5,5 +5,7 @@
source = Deface::Override.apply(source, details)
rails_initialize(source, identifier, handler, details)
end
end
+#fix for Rails 3.1 not setting virutal_path anymore (BOO!)
+ActionView::Resolver::Path.class_eval { alias_method :virtual, :to_s }