lib/pugin/feature/bandiera.rb in pugin-1.6.1 vs lib/pugin/feature/bandiera.rb in pugin-1.6.3
- old
+ new
@@ -35,11 +35,14 @@
def show_government_roles?
get_features
@features.fetch('show-government-roles', false)
end
+ def show_opposition_roles?
+ get_features
-
+ @features.fetch('show-opposition-roles', false)
+ end
# Reset cached features
def reset
@features = nil
end