summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-05-30 21:57:47 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-05-30 21:57:47 +0000
commit964245e30a267e0cf9f8073f06cdbcc38ba0d6dd (patch)
treed481de66cd72368a48572c06b12b7b8d932dd8b3 /app
parent68c7af6c914ab39d04007ae549ecc9b90548f98c (diff)
downloadredmine-964245e30a267e0cf9f8073f06cdbcc38ba0d6dd.tar.gz
redmine-964245e30a267e0cf9f8073f06cdbcc38ba0d6dd.zip
Added :view_versions_show_contextual hook. (#3036)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2771 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/versions/show.rhtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml
index ef5375198..c98d5424f 100644
--- a/app/views/versions/show.rhtml
+++ b/app/views/versions/show.rhtml
@@ -1,5 +1,6 @@
<div class="contextual">
<%= 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 }) %>
</div>
<h2><%= h(@version.name) %></h2>