diff options
author | elijah <elijah@riseup.net> | 2013-07-11 14:43:21 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-11 14:43:21 -0700 |
commit | 1f77c345783bf197be183b2e5025f875c0eac882 (patch) | |
tree | 2d5cee025a303689d1b6ae71797e5b2d147c5d21 /help/app | |
parent | e1219611dacb59cd51652806fb4c1cc79ea44a7e (diff) |
fix incorrect calling of tickets_path
Diffstat (limited to 'help/app')
-rw-r--r-- | help/app/helpers/auto_tickets_path_helper.rb | 2 |
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) |