lib/pugin/helpers/controller_helpers.rb in pugin-1.6.7 vs lib/pugin/helpers/controller_helpers.rb in pugin-1.6.8
- old
+ new
@@ -10,9 +10,17 @@
def disable_status_banner
Pugin::Feature.disable('StatusBanner')
end
+ def enable_global_search
+ Pugin::Feature.enable('GlobalSearch')
+ end
+
+ def disable_global_search
+ Pugin::Feature.disable('GlobalSearch')
+ end
+
def enable_top_navigation
Pugin::Feature.enable('TopNavigation')
end
def disable_top_navigation