From 5530419395ed51e89a7ef7daef16b8ef211f7a1f Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 4 Jul 2013 11:26:57 +0800 Subject: [PATCH] Add missing method disable? for categorisable objects --- lib/orbit_category/categorizable.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/orbit_category/categorizable.rb b/lib/orbit_category/categorizable.rb index 69a31e576..3cd295447 100644 --- a/lib/orbit_category/categorizable.rb +++ b/lib/orbit_category/categorizable.rb @@ -34,6 +34,10 @@ module OrbitCategory self.category_id = id end + def disable? + category.disable? + end + end end