summaryrefslogtreecommitdiff
path: root/help
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-08-28 11:53:58 +0200
committerAzul <azul@leap.se>2013-08-30 14:54:30 +0200
commit7bb1a16d4eee3eb3ef36c6f5b4fc7968e3da7dd6 (patch)
tree75df9def4e9289b5373cea6108616405896491e1 /help
parent060e06daa065f02b811dfe12850b101a62c12c8d (diff)
there's no need for User#find_by_param. clean it up
Diffstat (limited to 'help')
-rw-r--r--help/app/controllers/tickets_controller.rb2
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