Commit e1f5a61237492c6e4ebea0d25529813736489e40

Authored by Victor Costa
1 parent 30c569f6

api: fix article follow

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
... ...