Wrong root on image_tag, include_tags, etc
Posted
by Newy
on Stack Overflow
See other posts from Stack Overflow
or by Newy
Published on 2010-04-02T06:40:25Z
Indexed on
2010/05/17
6:00 UTC
Read the original article
Hit count: 256
ruby
|ruby-on-rails
On my dev setup, generated routes are mysteriously pointing to my public www server.
<%= javascript_include_tag :defaults %>
[yields]
<script src="http://www.mysite.com//javascripts/prototype.js?1265304231" type="text/javascript"></script>
<script src="http://www.mysite.com//javascripts/effects.js?1265304231" type="text/javascript"></script>
<script src="http://www.mysite.com//javascripts/dragdrop.js?1265304231" type="text/javascript"></script>
<script src="http://www.mysite.com//javascripts/controls.js?1273647885" type="text/javascript"></script>
<script src="http://mysite.opzi.com//javascripts/application.js?1273611341" type="text/javascript"></script>
Where is this option set? Can't find it for the life of me.
© Stack Overflow or respective owner