From 964245e30a267e0cf9f8073f06cdbcc38ba0d6dd Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 30 May 2009 21:57:47 +0000 Subject: [PATCH] Added :view_versions_show_contextual hook. (#3036) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2771 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/versions/show.rhtml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml index ef537519..c98d5424 100644 --- a/app/views/versions/show.rhtml +++ b/app/views/versions/show.rhtml @@ -1,5 +1,6 @@
<%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %> +<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>

<%= h(@version.name) %>