summaryrefslogtreecommitdiff
path: root/help/app
diff options
context:
space:
mode:
Diffstat (limited to 'help/app')
-rw-r--r--help/app/helpers/auto_tickets_path_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/help/app/helpers/auto_tickets_path_helper.rb b/help/app/helpers/auto_tickets_path_helper.rb
index bb71260..93f3cb9 100644
--- a/help/app/helpers/auto_tickets_path_helper.rb
+++ b/help/app/helpers/auto_tickets_path_helper.rb
@@ -13,6 +13,7 @@ module AutoTicketsPathHelper
protected
def auto_tickets_path(options={})
+ return unless options.class == Hash
options = ticket_view_options.merge options
if @user
user_tickets_path(@user, options)
@@ -31,6 +32,7 @@ module AutoTicketsPathHelper
end
def auto_new_ticket_path(options={})
+ return unless options.class == Hash
options = ticket_view_options.merge options
if @user
new_user_ticket_path(@user, options)