summaryrefslogtreecommitdiff
path: root/app/controllers/services/address_services_base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/services/address_services_base.rb')
-rw-r--r--app/controllers/services/address_services_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/services/address_services_base.rb b/app/controllers/services/address_services_base.rb
index 622873e..176b901 100644
--- a/app/controllers/services/address_services_base.rb
+++ b/app/controllers/services/address_services_base.rb
@@ -11,7 +11,7 @@ module Services
private
def already_existing_address
- @already_existing_address ||= Address.find_by(params)
+ @already_existing_address ||= Address.find_by(@params)
end
def add_address_to_user_addresses