Ruby on Rails Wednesday, March 16, 2016

I would like for this to be included in the head section of my rails app:

<script type="text/javascript" src="https://abc/embed.js"/>

How can I do this from app/assets/javascripts/application.js  ?

I tried this, but it did not work:

//= require https://abc/embed.js


Thank you! Jose

--
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@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d3f81858-d081-48b0-9e08-9e8cee24d20b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment