Changed name to title in register_site method in site model

This commit is contained in:
Saurabh Bhatia 2014-02-17 17:33:11 +08:00
parent b47bd031f2
commit a01827865b
1 changed files with 1 additions and 1 deletions

View File

@ -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