Commit 2368cdb3673fbf68157627bc01fe4139e36ac0fe
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'api' into production
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/api/v1/articles.rb
| ... | ... | @@ -37,7 +37,7 @@ module Noosfero |
| 37 | 37 | end |
| 38 | 38 | |
| 39 | 39 | desc "Add a follower for the article" |
| 40 | - get ':id/follow' do | |
| 40 | + post ':id/follow' do | |
| 41 | 41 | article = find_article(environment.articles, params[:id]) |
| 42 | 42 | article_follower = ArticleFollower.new |
| 43 | 43 | article_follower.article = article | ... | ... |