← Back to Upcase
thoughtbot
Expose asset_path helper to JavaScript
Ruby on Rails
lenart
(Lenart Rudel)
November 15, 2013, 1:36pm
2
Have a look at
gon gem
. Haven’t used it but it should do the job.
show post in topic
Related topics
Topic
Replies
Views
Activity
Alternative Asset Pipelines
Ruby on Rails
5
3362
March 27, 2015
Separating JS assets from Rails
Ruby on Rails
2
1778
August 29, 2014
Assets libraries: Gemify vs Vendor?
Javascript
1
940
October 21, 2013
How do you organize javascript in rails project?
Ruby on Rails
4
3061
July 8, 2015
URL Helpers Point to the Correct FIles, But Doesn't Point to the Finger Printed Version Ones in Stylesheets
Ruby on Rails
1
524
October 16, 2013