From a01827865ba9aca820fa39b1246bd90deb91bc7e Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Mon, 17 Feb 2014 17:33:11 +0800 Subject: [PATCH] Changed name to title in register_site method in site model --- app/models/site.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/site.rb b/app/models/site.rb index d1cfe57..3ea5251 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -108,7 +108,7 @@ class Site api_key = STORE_CONFIG[:store_settings]["api_key"] self.generate_site_token store = Store.new(self.id.to_s,self.site_token,api_key) - store.post_client(self.id.to_s,self.site_token,self.name) + store.post_client(self.id.to_s,self.site_token,self.title) end end