From 12890945e527c2803ad5a85ca4afbe1017c34025 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 26 Dec 2014 11:26:24 +0000 Subject: Allow attachment thumbnails from REST API (#18707). git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/attachments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/attachments_controller.rb') diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index d9357fbbd..e622d8086 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -22,7 +22,7 @@ class AttachmentsController < ApplicationController before_filter :delete_authorize, :only => :destroy before_filter :authorize_global, :only => :upload - accept_api_auth :show, :download, :upload + accept_api_auth :show, :download, :thumbnail, :upload def show respond_to do |format| -- cgit v1.2.3