|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
|
|
|
|
|
class AttachmentsController < ApplicationController
|
|
|
|
|
before_filter :find_project, :except => :upload
|
|
|
|
|
before_filter :file_readable, :read_authorize, :only => [:show, :download, :thumbnail]
|
|
|
|
|
before_filter :file_readable, :read_authorize, :only => [:show, :thumbnail]#Modified by young
|
|
|
|
|
before_filter :delete_authorize, :only => :destroy
|
|
|
|
|
before_filter :authorize_global, :only => :upload
|
|
|
|
|
|
|
|
|
|