lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml in ideyabox-0.0.6 vs lib/generators/ideyabox/admin/templates/views/admin/shared/_launchbar.html.haml in ideyabox-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
-- @active = :section if ["controllers"].include? controller.controller_name
+- @active = :section if %w{}.include? controller.controller_name
#launchbar
%li.arrow= link_to raw("↓"), "#"
%ul.menus
%li{:class => "#{'active' if @active == :section}"}= link_to "Root", admin_root_path
%ul.user_panel
%li= link_to current_user.email, "#"
- %li= link_to "Выход", destroy_user_session_path, :method => :delete
+ %li= link_to t('sign_out'), destroy_user_session_path, :method => :delete
\ No newline at end of file