Hello,
Just upgraded to rails 4 and Bootstrap 3. Everything working fine
except the following line in assets/javascripts/questions.js.coffee:
$('#jumbotron').css('background-image'
:'url("assets/Jumbotron2.png")')
Works in development but not production on Heroku. Image just does not
show up on Heroku.
Tried $('#jumbotron').css('background-image' :url(<%=
asset_path
'Jumbotron2.png' %>))
which also worked in dev but not production. Changing application.js to
application.js.erb crashed heroku.
Any ideas?
Thanks,
Dave Castellano
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/5570adb16a376541febd1bfeebbb4f13%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.