Commit ab1ef19cfc02c307bc8c83a9ee01de7f25125995
1 parent
d5687e47
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
api: expose category id
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 |