From 35dfc0fbcb725d45facc74af615fd96b9581d978 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 4 Sep 2016 21:15:52 +0200 Subject: Fixed more case-sensitivity issues --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers/application_helper.rb') diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e2baecede..e0105ee54 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -30,7 +30,7 @@ module ApplicationHelper if domain == Rails.configuration.x.local_domain account = Account.find_local(username) else - account = Account.find_by(username: username, domain: domain) + account = Account.find_remote(username, domain) end account -- cgit