Commit 53d99f9e83d074d0748bdf5eb0afa85389ad9fba
1 parent
d782d26b
Exists in
staging
and in
4 other branches
API: removing uncessary code to expose tags
Showing
3 changed files
with
2 additions
and
8 deletions
Show diff stats
lib/noosfero/api/api.rb
lib/noosfero/api/entities.rb
lib/noosfero/api/v1/tags.rb
... | ... | @@ -10,7 +10,7 @@ module Noosfero |
10 | 10 | |
11 | 11 | get do |
12 | 12 | article = find_article(environment.articles, params[:id]) |
13 | - present article.tag_list, :with => Entities::Tag | |
13 | + present article.tag_list | |
14 | 14 | end |
15 | 15 | |
16 | 16 | desc "Add a tag to an article" |
... | ... | @@ -18,7 +18,7 @@ module Noosfero |
18 | 18 | article = find_article(environment.articles, params[:id]) |
19 | 19 | article.tag_list=params[:tags] |
20 | 20 | article.save |
21 | - present article.tag_list, :with => Entities::Tag | |
21 | + present article.tag_list | |
22 | 22 | end |
23 | 23 | |
24 | 24 | end | ... | ... |