Changeset 1164

Show
Ignore:
Timestamp:
09/30/06 14:41:56 (2 years ago)
Author:
james
Message:

converted name to non-capitalized

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • peasantonline/app/controllers/application.rb

    r1153 r1164  
    2525  def create_main(file_src, file_dest, height, width) 
    2626      tmp_main = Magick::Image.read(file_src).first 
    27             tmp_main.change_geometry!("#{width}x#{height}") { |cols, rows, img| 
     27            tmp_main.change_geometry("#{width}x#{height}") { |cols, rows, img| 
    2828        main = img.resize!(cols, rows) 
    2929        main.write(file_dest) {self.quality = 70} 
  • peasantonline/app/views/catalog/_product_list.rhtml

    r1064 r1164  
    77                <%= link_to '<img src="/images/interface/spacer.png" height="143" width="170" border="0"/>', :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
    88                <div class="product-holder-text"> 
    9                         <%= link_to product.name.capitalize, :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
     9                        <%= link_to product.name, :controller => 'shop', :action=> 'product', :id => product.id %><br /> 
    1010                        <%= product.short_description %> 
    1111                </div>