From 8aebe30ef4d3d169bfb0900f4f4b396b74c8d20a Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Fri, 18 Jan 2013 09:15:19 -0500 Subject: Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" This reverts commit 637a7d9d357a0f3f725b0548282ca8c5e7d4af4a, reversing changes made to 5937bd02dee112646469848d7fe8a8bfcef5b4c1. --- actionpack/lib/action_controller/metal/http_authentication.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionpack/lib/action_controller/metal/http_authentication.rb') diff --git a/actionpack/lib/action_controller/metal/http_authentication.rb b/actionpack/lib/action_controller/metal/http_authentication.rb index 308b386d9a..e295002b16 100644 --- a/actionpack/lib/action_controller/metal/http_authentication.rb +++ b/actionpack/lib/action_controller/metal/http_authentication.rb @@ -29,7 +29,7 @@ module ActionController # # protected # def set_account - # @account = Account.find_by(url_name: request.subdomains.first) + # @account = Account.find_by_url_name(request.subdomains.first) # end # # def authenticate @@ -344,7 +344,7 @@ module ActionController # # protected # def set_account - # @account = Account.find_by(url_name: request.subdomains.first) + # @account = Account.find_by_url_name(request.subdomains.first) # end # # def authenticate -- cgit v1.2.3