Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

force render to treat path to template as absolute

  • Loading branch information...
commit 972e85d1277ef456502966545e2837d99d59cee6 1 parent a0a6b68
Isaac Lewis authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/vanity/frameworks/rails.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.