Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails get asset path from console

ActionController::Base.helpers.asset_path('icon.png')
 
PREVIOUS NEXT
Tagged: #rails #asset #path #console
ADD COMMENT
Topic
Name
4+4 =