Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 355
- Log:
Add redirections for legacy I2 URLs.
- Author:
- rool
- Date:
- Sat Mar 19 21:56:29 +0000 2011
- Size:
- 588 Bytes
1 | ######################################################################## |
2 | # File:: i2_controller.rb |
3 | # (C):: Hipposoft 2011 |
4 | # |
5 | # Purpose:: Support common I2 paths within Instiki for legacy links. |
6 | # ---------------------------------------------------------------------- |
7 | # 16-Mar-2011 (ADH): Created. |
8 | ######################################################################## |
9 | |
10 | class I2Controller < ApplicationController |
11 | def pages |
12 | redirect_to :controller => 'wiki', |
13 | :action => 'show', |
14 | :id => params[:id].gsub('+', ' ') |
15 | end |
16 | end |