Merge branch 'devel-1.6.0' of github.com:danmunn/redmine_dmsf into devel-1.6.0

This commit is contained in:
Karel Picman 2017-09-11 14:20:09 +02:00
commit 3218f07286
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class DmsfFolderPermissionsController < ApplicationController
def append
@principals = Principal.where(:id => params[:user_ids]).to_a
render :nothing => true if @principals.blank?
head 200 if @principals.blank?
end
def autocomplete_for_user

View File

@ -78,7 +78,7 @@ class DmsfUploadController < ApplicationController
# REST API and Redmine attachment form
def upload
unless request.content_type == 'application/octet-stream'
render :nothing => true, :status => 406
head 406
return
end