lib/mambanation/base.rb in mambanation-0.1.6 vs lib/mambanation/base.rb in mambanation-0.1.7
- old
+ new
@@ -130,10 +130,10 @@
def user_posts(id)
perform_get("/users/#{id.to_i}/posts.json")
end
def create_post(post)
- perform_post("/posts/create", :body => { :post => post })
+ perform_post("/posts", :body => { :post => post })
end
def posts(id)
perform_get("/posts/#{id.to_i}.json")
end