Permalink
Browse files

force render to treat path to template as absolute

  • Loading branch information...
1 parent a0a6b68 commit 972e85d1277ef456502966545e2837d99d59cee6 Isaac Lewis committed Dec 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vanity/frameworks/rails.rb
@@ -210,7 +210,7 @@ def vanity_tracking_image(identity, metric, options = {})
def vanity_js
return if @_vanity_experiments.nil?
javascript_tag do
- render Vanity.template("vanity.js.erb")
+ render :file => Vanity.template("vanity.js.erb")
end
end

0 comments on commit 972e85d

Please sign in to comment.