From e37286ef6ee67f2ef22f9a7c0943e0bfb696bf53 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 17 Jan 2018 16:12:08 +0800 Subject: [PATCH] access to managersw only --- lib/property_hire/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/property_hire/engine.rb b/lib/property_hire/engine.rb index db94664..699b0a4 100644 --- a/lib/property_hire/engine.rb +++ b/lib/property_hire/engine.rb @@ -13,7 +13,7 @@ module PropertyHire data_count 1..30 side_bar do head_label_i18n 'property_hire.property_hire', icon_class: "icons-map" - available_for "users" + available_for "managers" active_for_controllers (['admin/property_hires']) head_link_path "admin_property_hires_path"