Skip to content

Commit

Permalink
Lower on lookup too
Browse files Browse the repository at this point in the history
  • Loading branch information
arfon committed Aug 14, 2024
1 parent bc3a81b commit 7338099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/editors_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def new
end

def lookup
editor = Editor.find_by_login(params[:login])
editor = Editor.where("lower(login) = ?", params[:login].downcase).first
if editor.url
url = editor.url
else
Expand Down

0 comments on commit 7338099

Please sign in to comment.