Commit 5a7910891476e01ec800670c69178598823a52d9
1 parent
d2af6005
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
HOTFIX: uncomment article forbidden
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/api/helpers.rb
... | ... | @@ -57,7 +57,7 @@ |
57 | 57 | |
58 | 58 | def find_article(articles, id) |
59 | 59 | article = articles.find(id) |
60 | - #article.display_to?(current_user.person) ? article : forbidden! | |
60 | + article.display_to?(current_user.person) ? article : forbidden! | |
61 | 61 | end |
62 | 62 | |
63 | 63 | def post_article(asset, params) | ... | ... |