Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 373
- Log:
Initial import of Radiant 0.9.1, which is now packaged as a gem. This is an
import of the tagged 0.9.1 source checked out from GitHub, which isn't quite
the same as the gem distribution - but it doesn't seem to be available in an
archived form and the installed gem already has modifications, so this is
the closest I can get.
- Author:
- rool
- Date:
- Mon Mar 21 13:40:05 +0000 2011
- Size:
- 242 Bytes
1 | def path_to(page_name) |
2 | case page_name |
3 | |
4 | when /the homepage/i |
5 | root_path |
6 | |
7 | when /login/i |
8 | login_path |
9 | # Add more page name => path mappings here |
10 | |
11 | else |
12 | raise "Can't find mapping from \"#{page_name}\" to a path." |
13 | end |
14 | end |