Hello,

I googled for it but did not find satisfied answer. Problem is that i
have a javascript file which need to be loaded on only one page. Also, i
am using recursive => true with javascript_include_tag in layout file.

So, what i have done is that i moved javascript file to public directory
and introduced content_for :head functionality into the view which will
pick the script from this public directory.

Question is: How to find javascript file's full path in the view?


Thanks in advance.
- Hemant

-- 
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 post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to