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:
- 4047 Bytes
1 | ActionController::Routing::Routes.draw do |map| |
2 | |
3 | # default |
4 | map.index '', :controller => 'articles', :action => 'index' |
5 | map.admin 'admin', :controller => 'admin/general', :action => 'index' |
6 | |
7 | # admin/comments controller needs parent article id |
8 | map.connect 'admin/comments/article/:article_id/:action/:id', |
9 | :controller => 'admin/comments', :action => nil, :id => nil |
10 | map.connect 'admin/trackbacks/article/:article_id/:action/:id', |
11 | :controller => 'admin/trackbacks', :action => nil, :id => nil |
12 | map.connect 'admin/content/:action/:id', :controller => 'admin/content' |
13 | |
14 | # make rss feed urls pretty and let them end in .xml |
15 | # this improves caches_page because now apache and webrick will send out the |
16 | # cached feeds with the correct xml mime type. |
17 | map.xml 'xml/itunes/feed.xml', :controller => 'xml', :action => 'itunes' |
18 | map.xml 'xml/articlerss/:id/feed.xml', :controller => 'xml', :action => 'articlerss' |
19 | map.xml 'xml/commentrss/feed.xml', :controller => 'xml', :action => 'commentrss' |
20 | map.xml 'xml/trackbackrss/feed.xml', :controller => 'xml', :action => 'trackbackrss' |
21 | |
22 | map.xml 'xml/:format/feed.xml', :controller => 'xml', :action => 'feed', :type => 'feed' |
23 | map.xml 'xml/:format/:type/feed.xml', :controller => 'xml', :action => 'feed' |
24 | map.xml 'xml/:format/:type/:id/feed.xml', :controller => 'xml', :action => 'feed' |
25 | map.xml 'xml/rss', :controller => 'xml', :action => 'feed', :type => 'feed', :format => 'rss' |
26 | |
27 | # allow neat perma urls |
28 | map.connect 'articles', |
29 | :controller => 'articles', :action => 'index' |
30 | map.connect 'articles/page/:page', |
31 | :controller => 'articles', :action => 'index', |
32 | :page => /\d+/ |
33 | |
34 | map.connect 'articles/:year/:month/:day', |
35 | :controller => 'articles', :action => 'find_by_date', |
36 | :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/ |
37 | map.connect 'articles/:year/:month', |
38 | :controller => 'articles', :action => 'find_by_date', |
39 | :year => /\d{4}/, :month => /\d{1,2}/ |
40 | map.connect 'articles/:year', |
41 | :controller => 'articles', :action => 'find_by_date', |
42 | :year => /\d{4}/ |
43 | |
44 | map.connect 'articles/:year/:month/:day/page/:page', |
45 | :controller => 'articles', :action => 'find_by_date', |
46 | :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/, :page => /\d+/ |
47 | map.connect 'articles/:year/:month/page/:page', |
48 | :controller => 'articles', :action => 'find_by_date', |
49 | :year => /\d{4}/, :month => /\d{1,2}/, :page => /\d+/ |
50 | map.connect 'articles/:year/page/:page', |
51 | :controller => 'articles', :action => 'find_by_date', |
52 | :year => /\d{4}/, :page => /\d+/ |
53 | |
54 | map.connect 'articles/:year/:month/:day/:title', |
55 | :controller => 'articles', :action => 'permalink', |
56 | :year => /\d{4}/, :day => /\d{1,2}/, :month => /\d{1,2}/ |
57 | |
58 | map.connect 'articles/category/:id', |
59 | :controller => 'articles', :action => 'category' |
60 | map.connect 'articles/category/:id/page/:page', |
61 | :controller => 'articles', :action => 'category', |
62 | :page => /\d+/ |
63 | |
64 | map.connect 'articles/tag/:id', |
65 | :controller => 'articles', :action => 'tag' |
66 | map.connect 'articles/tag/:id/page/:page', |
67 | :controller => 'articles', :action => 'tag', |
68 | :page => /\d+/ |
69 | |
70 | map.connect 'pages/*name',:controller => 'articles', :action => 'view_page' |
71 | |
72 | map.connect 'stylesheets/theme/:filename', |
73 | :controller => 'theme', :action => 'stylesheets' |
74 | map.connect 'javascript/theme/:filename', |
75 | :controller => 'theme', :action => 'javascript' |
76 | map.connect 'images/theme/:filename', |
77 | :controller => 'theme', :action => 'images' |
78 | |
79 | map.connect 'plugins/filters/:filter/:public_action', |
80 | :controller => 'textfilter', :action => 'public_action' |
81 | |
82 | # Kill attempts to connect directly to the theme controller. |
83 | # Ideally we'd disable these by removing the default route (below), |
84 | # but that breaks too many things for Typo 2.5. |
85 | map.connect 'theme/*stuff', |
86 | :controller => 'theme', :action => 'error' |
87 | |
88 | # Allow legacy urls to still work |
89 | map.connect ':controller/:action/:id' |
90 | |
91 | map.connect '*from', :controller => 'redirect', :action => 'redirect' |
92 | end |