Patch #18707 ยป attachment.diff
| app/controllers/attachments_controller.rb (working copy) | ||
|---|---|---|
| 21 | 21 |
before_filter :delete_authorize, :only => :destroy |
| 22 | 22 |
before_filter :authorize_global, :only => :upload |
| 23 | 23 | |
| 24 |
accept_api_auth :show, :download, :upload |
|
| 24 |
accept_api_auth :show, :download, :upload, :thumbnail
|
|
| 25 | 25 | |
| 26 | 26 |
def show |
| 27 | 27 |
respond_to do |format| |