Homework
sw 11 years ago
commit b732944a2a

@ -56,6 +56,8 @@ class AttachmentsController < ApplicationController
}
format.api
end
rescue Encoding::InvalidByteSequenceError => e
render :action => 'file'
end
def download

Loading…
Cancel
Save