diff options
author | jessib <jessib@riseup.net> | 2013-09-02 09:59:49 -0700 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-09-02 09:59:49 -0700 |
commit | 6110093e939db07fd27fac7c28ddcd09a49e70ed (patch) | |
tree | 4393c3e8fcb2969b0bd21800bff7dd5a1fc9c3d7 /help/app | |
parent | 060e06daa065f02b811dfe12850b101a62c12c8d (diff) | |
parent | 77af7ac953fb22c181056e8c40c8749d12a63922 (diff) |
Merge pull request #74 from azul/refactor/finding-users
there's no need for User#find_by_param. clean it up
Diffstat (limited to 'help/app')
-rw-r--r-- | help/app/controllers/tickets_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/help/app/controllers/tickets_controller.rb b/help/app/controllers/tickets_controller.rb index a03ef22..a669e19 100644 --- a/help/app/controllers/tickets_controller.rb +++ b/help/app/controllers/tickets_controller.rb @@ -138,7 +138,7 @@ class TicketsController < ApplicationController def fetch_user if params[:user_id] - @user = User.find_by_param(params[:user_id]) + @user = User.find(params[:user_id]) end end |