]> source.dussan.org Git - redmine.git/commitdiff
Added :view_versions_show_contextual hook. (#3036)
authorEric Davis <edavis@littlestreamsoftware.com>
Sat, 30 May 2009 21:57:47 +0000 (21:57 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sat, 30 May 2009 21:57:47 +0000 (21:57 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2771 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/versions/show.rhtml

index ef53751985838e514f36d0422fde24f0c7d90215..c98d5424fc2f2836c6e603e394d14b5f8ebf6aa5 100644 (file)
@@ -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>