app/views/comable/admin/shared/_header.slim in comable_backend-0.3.4 vs app/views/comable/admin/shared/_header.slim in comable_backend-0.4.0
- old
+ new
@@ -14,18 +14,18 @@
= link_to comable.root_path do
= Comable.t('admin.back_to_store')
li.dropdown.navbar-user
a href="#" class="dropdown-toggle" data-toggle="dropdown"
span.hidden-xs
- = current_customer.email
+ = current_comable_user.email
span.caret<
ul.dropdown-menu.animated.fadeInLeft
li.arrow
li
- = link_to comable.edit_admin_customer_path(current_customer) do
+ = link_to comable.edit_admin_user_path(current_comable_user) do
span.fa.fa-edit>
= Comable.t('admin.edit_profile')
li.divider
li
- = link_to comable.destroy_customer_session_path, method: :delete do
+ = link_to comable.destroy_user_session_path, method: :delete do
span.fa.fa-sign-in>
= Comable.t('admin.sign_out')