summaryrefslogtreecommitdiff
path: root/engines/support/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'engines/support/app/controllers')
-rw-r--r--engines/support/app/controllers/tickets_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/support/app/controllers/tickets_controller.rb b/engines/support/app/controllers/tickets_controller.rb
index c1abfa2..8cccc2f 100644
--- a/engines/support/app/controllers/tickets_controller.rb
+++ b/engines/support/app/controllers/tickets_controller.rb
@@ -4,6 +4,8 @@ class TicketsController < ApplicationController
respond_to :html, :json
#has_scope :open, :type => boolean
+ skip_before_filter :verify_authenticity_token, :only => [:create]
+
before_filter :require_login, :only => [:index]
before_filter :fetch_ticket, except: [:new, :create, :index]
before_filter :require_ticket_access, except: [:new, :create, :index]