diff --git a/lib/noosfero/api/v1/articles.rb b/lib/noosfero/api/v1/articles.rb index eb1ede7..c5d1ca3 100644 --- a/lib/noosfero/api/v1/articles.rb +++ b/lib/noosfero/api/v1/articles.rb @@ -37,7 +37,7 @@ module Noosfero end desc "Add a follower for the article" - get ':id/follow' do + post ':id/follow' do article = find_article(environment.articles, params[:id]) article_follower = ArticleFollower.new article_follower.article = article -- libgit2 0.21.2