lib/mambanation/base.rb in mambanation-0.1.0 vs lib/mambanation/base.rb in mambanation-0.1.1

- old
+ new

@@ -17,10 +17,10 @@ # def create_user(user) # perform_post("/users", :body => { :user => user }) # end def current_user - perform_post("/users/me") if !fbs_cookies.nil? + perform_get("/users/me") unless fbs_cookies.nil? end def user_by_facebook_id(facebook_id, query = {}) perform_get("/users/find_by?facebook_id=#{facebook_id.to_i}", :query => query) end