Ruby on Rails Friday, July 27, 2012


Hi All

how can i get the asset pipeline host url in grape api to append to the image url

in config/environments/development.rb

ActionController::Base.asset_host = "assets.example.com"

i have configured the asset url. How can i generate this image with asset host url in grape api

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/FWOnbZr1iiwJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment