Remove unused variable user at lib/gitlab/markdown

This commit is contained in:
Ciro Santilli 2014-10-23 13:12:21 +02:00
parent 47064ea55c
commit 40815b2baf
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ module Gitlab
if identifier == "all"
link_to("@all", project_url(project), options)
elsif user = User.find_by(username: identifier)
elsif User.find_by(username: identifier)
link_to("@#{identifier}", user_url(identifier), options)
end
end