Show taggings in API

This commit is contained in:
Alberto Miedes Garcés
2017-01-26 10:48:05 +01:00
parent 83267330a7
commit 69fc161b83
3 changed files with 10 additions and 9 deletions

View File

@@ -1,7 +0,0 @@
class Tag < ActsAsTaggableOn::Tag
def self.public_for_api
where("kind IS NULL OR kind = 'category'")
end
end