From 5f7b965674270fbb5e4d384604fa70948b69be4b Mon Sep 17 00:00:00 2001 From: manson Date: Mon, 26 May 2014 18:08:40 +0800 Subject: [PATCH] Fix Sidebar Sub Nav --- lib/links/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/links/engine.rb b/lib/links/engine.rb index 23de948..769c1b7 100644 --- a/lib/links/engine.rb +++ b/lib/links/engine.rb @@ -14,7 +14,7 @@ module WebResource side_bar do head_label_i18n 'web_resource',:icon_class=>"icons-link" available_for [:admin,:manager,:sub_manager] - active_for_controllers ({:private=>['web_resource']}) + active_for_controllers (['admin/web_resources']) head_link_path "admin_web_resources_path" context_link 'list_',