Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 520 Bytes
1 | class RedirectController < ContentController |
2 | def redirect |
3 | r = Redirect.find_by_from_path(params[:from]) |
4 | |
5 | if(r) |
6 | # From http://pinds.com/articles/2005/11/06/rails-how-to-do-a-301-redirect, thanks |
7 | headers["Status"] = "301 Moved Permanently" |
8 | path = r.to_path |
9 | url_root = request.relative_url_root |
10 | path = url_root + path unless url_root.nil? or path[0,url_root.length] == url_root |
11 | redirect_to path |
12 | else |
13 | render :text => "Page not found", :status => 404 |
14 | end |
15 | end |
16 | end |