|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
class SubDocumentCommentsController < ApplicationController
|
|
|
|
|
before_filter :find_subdomain_and_subfield, :only => [:new, :create, :show, :index, :destroy, :edit]
|
|
|
|
|
before_filter :find_subfield_content, :only => [:show, :index]
|
|
|
|
|
before_filter :authorize_allowed, :only => [:create, :add_reply]
|
|
|
|
|
before_filter :authorize_allowed, :only => [:create]
|
|
|
|
|
helper :attachments,:organizations
|
|
|
|
|
layout 'base_sub_domain'
|
|
|
|
|
|
|
|
|
|