Block problem with layout

This commit is contained in:
Vladimir Sharshov 2011-10-31 14:20:35 +04:00
parent c076b796e3
commit 96546740be
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
%a{:href => roles_path}= t("layout.menu.roles") %a{:href => roles_path}= t("layout.menu.roles")
-if current_user.can_perform?('personal_repositories', 'show') -if current_user.can_perform?('personal_repositories', 'show')
%li{:class => controller.controller_path == 'personal_repositories' ? 'active' : '' } %li{:class => controller.controller_path == 'personal_repositories' ? 'active' : '' }
%a{:href => personal_repository_path( current_user.personal_repository.id )}= t("layout.menu.personal_repository") -#%a{:href => personal_repository_path( current_user.personal_repository.id )}= t("layout.menu.personal_repository")
-#if current_user.can_perform?('auto_build_lists', 'index') -#if current_user.can_perform?('auto_build_lists', 'index')
%li{:class => controller.controller_path == 'auto_build_lists' ? 'active' : '' } %li{:class => controller.controller_path == 'auto_build_lists' ? 'active' : '' }
%a{:href => auto_build_lists_path}= t("layout.menu.auto_build_lists") %a{:href => auto_build_lists_path}= t("layout.menu.auto_build_lists")