Add missing method disable? for categorisable objects

This commit is contained in:
chris 2013-07-04 11:26:57 +08:00
parent 5457afdada
commit 5530419395
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ module OrbitCategory
self.category_id = id
end
def disable?
category.disable?
end
end
end