From 1f77c345783bf197be183b2e5025f875c0eac882 Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 11 Jul 2013 14:43:21 -0700 Subject: fix incorrect calling of tickets_path --- help/app/helpers/auto_tickets_path_helper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'help/app') 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) -- cgit v1.2.3