diff options
author | jessib <jessib@riseup.net> | 2013-07-15 10:33:13 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-07-15 10:33:13 -0700 |
commit | bf5922d26e27ee9695b07eade42d36a34b63fc4e (patch) | |
tree | 1bba41b4d5b4ba59966012f9171c01817a332bc0 /help/app/helpers | |
parent | cc32ad53286c2c03c88cb55713565c2930796024 (diff) | |
parent | 673c1af5e90a925e00fe6ad7847583a1ddd53ad0 (diff) |
Merge pull request #58 from elijh/bugfix/security
fix misc security related bugs
Diffstat (limited to 'help/app/helpers')
-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) |