Route fixed wiki link

pull/6827/head
Sandro Munda 14 years ago committed by Gregor Schmidt
parent 2bfaedb8b0
commit 92997a5f71
  1. 4
      app/controllers/rb_wikis_controller.rb

@ -5,13 +5,13 @@ class RbWikisController < RbApplicationController
# WikiController#index tak care of autorization
# NOTE: this method does create a template page when called.
def show
redirect_to :controller => 'wiki', :action => 'index', :id => @project.id, :page => @sprint.wiki_page
redirect_to :controller => 'wiki', :action => 'index', :project_id => @project.id, :id => @sprint.wiki_page
end
# NOTE: This method is public (see init.rb). We will let Redmine core's
# WikiController#index tak care of autorization
# NOTE: this method does create a template page when called.
def edit
redirect_to :controller => 'wiki', :action => 'edit', :id => @project.id, :page => @sprint.wiki_page
redirect_to :controller => 'wiki', :action => 'edit', :project_id => @project.id, :id => @sprint.wiki_page
end
end

Loading…
Cancel
Save