diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-27 16:27:06 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-10-27 16:27:06 +0000 |
commit | e9efa5b9814bbeddd9956b8478ed26af02b0eeca (patch) | |
tree | d2b8c54194c7410edd114483d3645d9945aff17a /app/views/versions | |
parent | 70bf0706b2f7933f72cbd4daab8e43b0ac9de4e9 (diff) | |
download | redmine-e9efa5b9814bbeddd9956b8478ed26af02b0eeca.tar.gz redmine-e9efa5b9814bbeddd9956b8478ed26af02b0eeca.zip |
Refactor: use :id instead of :page when linking to Wiki Pages
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml index 6b2b09d0f..f8a82142c 100644 --- a/app/views/versions/show.rhtml +++ b/app/views/versions/show.rhtml @@ -1,6 +1,6 @@ <div class="contextual"> <%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %> -<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :page => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @project.wiki.nil? %> +<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @project.wiki.nil? %> <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %> </div> |