wethu
3/6/2015 - 6:44 AM

grep cdn.txt

<div class='block tour_feature_block'>
<img alt="Tour_feature_1" src="http://cdn1.microminimus.com/assets/landing_page/v2/tour_feature_1-162b23c75c1c92c391943c64f853b464.jpg" />
</div>

<!-- 
Done like this:
.block.tour_feature_block
  = image_tag("landing_page/v2/tour_feature_1.jpg")
-->
#top_promo{background:#eaeaea url(//assets.cdn.staging.microminimus.com/assets/landing_page/v2/promo_tour_1b-0aa81610734df5b819e35591742a5808.jpg)

/* 
Done like this:
 #top_promo {
  background: #eaeaea image-url("landing_page/v2/promo_tour_1b.jpg") top     left no-repeat;
*/
/Users/egray/Documents/www/microminimus/app/helpers/application_helper.rb:
   10    #   return tag unless tag =~ /assets\.cdn\./ # local
   11  
   12:   #   # assets.cdn.staging.microminimus.com
   13    #   tag.
   14:   #     gsub("assets.cdn.staging.microminimus.com", "cdn-staging-microminimus.pantherssl.com").
   15    #     gsub("assets.cdn.microminimus.com", "cdn-microminimus.pantherssl.com").
   16    #     html_safe + "blabla"

/Users/egray/Documents/www/microminimus/config/app_config.yml:
   32    <<: *development
   33    :g2_database: g2_staging
   34:   :http_asset_host: 'assets.cdn.staging.microminimus.com'
   35    :https_asset_host: 'cdn-staging-microminimus.pantherssl.com'