Fix incorrect admin path

This commit is contained in:
Rohan Mitchell
2014-05-09 08:33:26 +10:00
parent 967d4c81ab
commit 34c18b522c
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@
%li.divider
- if spree_current_user.andand.has_spree_role? 'admin'
%li
%a{href: spree_admin_path}
%a{href: spree.admin_path}
%span.nav-primary Admin
%li.divider
%section.top-bar-section

View File

@@ -17,7 +17,7 @@
- if spree_current_user.andand.has_spree_role? 'admin'
%li
%a{href: spree_admin_path}
%a{href: spree.admin_path}
%span.nav-primary Admin
%li
- if spree_current_user.nil?