lib/pugin/feature/bandiera.rb in pugin-1.3.1 vs lib/pugin/feature/bandiera.rb in pugin-1.4.0
- old
+ new
@@ -30,12 +30,18 @@
def show_committees?
get_features
@features.fetch('show-committees', false)
end
+ def show_government_roles?
+ get_features
+ @features.fetch('show-government-roles', false)
+ end
+
+
# Reset cached features
def reset
@features = nil
end
@@ -45,7 +51,7 @@
def get_features
@features ||= Pugin::BANDIERA_CLIENT.get_features_for_group('parliament')
end
end
end
- end
+ end
end