From: Eric Davis Date: Wed, 25 Nov 2009 01:14:19 +0000 (+0000) Subject: Added :view_my_account_contextual hook. X-Git-Tag: 0.9.0~173 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a9528cf3d9eb4afbec81cf1d79f7134596906f1;p=redmine.git Added :view_my_account_contextual hook. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3089 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/my/account.rhtml b/app/views/my/account.rhtml index b22f291f9..018414ee2 100644 --- a/app/views/my/account.rhtml +++ b/app/views/my/account.rhtml @@ -1,5 +1,6 @@
<%= link_to(l(:button_change_password), :action => 'password') unless @user.auth_source_id %> +<%= call_hook(:view_my_account_contextual, :user => @user)%>

<%=l(:label_my_account)%>

<%= error_messages_for 'user' %>