Commit ab1ef19cfc02c307bc8c83a9ee01de7f25125995

Authored by Victor Costa
1 parent d5687e47

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 62  
63 63 class Category < CategoryBase
64 64 root 'categories', 'category'
  65 + expose :id
65 66 expose :slug
66 67 expose :full_name do |category, options|
67 68 category.full_name
... ...