From 728d1d65de8c96440490f7874ce42f95219e79f6 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Fri, 28 Nov 2014 23:18:23 +0100 Subject: [PATCH] Fixed mass tag --- public_html/js/Presenters/PostListPresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Presenters/PostListPresenter.js b/public_html/js/Presenters/PostListPresenter.js index 382a54d8..9519e233 100644 --- a/public_html/js/Presenters/PostListPresenter.js +++ b/public_html/js/Presenters/PostListPresenter.js @@ -219,7 +219,7 @@ App.Presenters.PostListPresenter = function( var formData = {}; formData.seenEditTime = post.lastEditTime; formData.tags = tags.join(' '); - promise.wait(api.put('/posts/' + post.id, formData)) + promise.wait(api.post('/posts/' + post.id, formData)) .then(function(response) { post = response.json; $post.data('post', post);