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