From 7bb1a16d4eee3eb3ef36c6f5b4fc7968e3da7dd6 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 28 Aug 2013 11:53:58 +0200 Subject: there's no need for User#find_by_param. clean it up --- help/app/controllers/tickets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'help') 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 -- cgit v1.2.3