Homework
sw 11 years ago
commit b732944a2a

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

Loading…
Cancel
Save