Commit 89a2e4d5a627aacf45675c016239cac15f7495f5
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
0 deletions
Show diff stats
lib/noosfero/api/entities.rb
@@ -62,6 +62,7 @@ module Noosfero | @@ -62,6 +62,7 @@ module Noosfero | ||
62 | 62 | ||
63 | class Category < CategoryBase | 63 | class Category < CategoryBase |
64 | root 'categories', 'category' | 64 | root 'categories', 'category' |
65 | + expose :id | ||
65 | expose :slug | 66 | expose :slug |
66 | expose :full_name do |category, options| | 67 | expose :full_name do |category, options| |
67 | category.full_name | 68 | category.full_name |