Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Returns the URL for the named resource
- def static_url(resource_name, opts = {})
- opts[:language] ||= language
- entry = bundle.find_resource_entry(resource_name, opts)
- entry.nil? ? '' : entry.cacheable_url
- end
Add Comment
Please, Sign In to add comment