How can I create an Absolute link in a javascript file.
I assume there should be something like below (which unfortunately does not seem to be available):
javascript_url 'main'
instead:
javascript_path 'main'
I need an absolute URL because this javascript file will be used in the bookmarket.
Also, I need the same for the css file.
Thank,
Dmitry.
url ruby ruby-on-rails helpers
Dmytrii Nagirniak Dec 21 '09 at 12:52 2009-12-21 12:52
source share