Project

General

Profile

Defect #10602 » except-class.patch

Alexander Oryol, 2012-04-04 14:06

View differences:

app/helpers/application_helper.rb
99 99
    action = options.delete(:download) ? 'download' : 'show'
100 100
    link_to(h(text),
101 101
           {:controller => 'attachments', :action => action,
102
            :id => attachment, :filename => attachment.filename }.merge(options),
102
            :id => attachment, :filename => attachment.filename }.merge(options.except(:class)),
103 103
           options)
104 104
  end
105 105

  
(1-1/2)