Skip to content

Commit

Permalink
parenthesis [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenezech committed Sep 9, 2011
1 parent a9ea295 commit 4d7be14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/rails_admin/_header.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
- if authorized?(:edit, nil, _current_user)
%li= link_to header_icon(:account, _current_user.email), edit_path(:user, _current_user)
- if defined?(Devise)
%li= link_to header_icon(:logout, t("admin.credentials.log_out")), (main_app.destroy_user_session_path), :method => Devise.sign_out_via
%li= link_to header_icon(:logout, t("admin.credentials.log_out")), main_app.destroy_user_session_path, :method => Devise.sign_out_via

0 comments on commit 4d7be14

Please sign in to comment.