Project

General

Profile

Patch #18707 ยป attachment.diff

Yehuda Katz, 2014-12-23 21:40

View differences:

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|
    (1-1/1)