Project

General

Profile

Actions

Patch #6778

closed

Wiki compatibility link broken w/o project_id

Added by W Snyder over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2010-10-30
Due date:
% Done:

0%

Estimated time:

Description

Recent versions changed from using :id to :project_id for routing.
One replacement was missed in a compatibility link; this breaks old links to the wiki pages. This patch to routes fixes it: Thanks.

routes.rb:

- map.connect 'wiki/:id/:page/:action', :page => nil, :controller => 'wiki'
+ map.connect 'wiki/:project_id/:page', :page => nil, :controller => 'wiki', :action => 'show'
+ map.connect 'wiki/:project_id/:page/:action', :page => nil, :controller => 'wiki'

Actions

Also available in: Atom PDF