GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
for sample blog, mapped a redirect for root
automatthew (author)
Thu Jun 19 09:56:57 -0700 2008
commit  4b49219bdc912d6290afcffa5750d882f181c8bb
tree    c5d8d894490fa083636d0572d478c0752c32a4e2
parent  e2ae7be5b098e34bf333d92c9176550de3f1e58f
...
4
5
6
 
 
 
 
 
7
8
9
...
4
5
6
7
8
9
10
11
12
13
14
0
@@ -4,6 +4,11 @@ module Blog
0
 
0
     module Mapping
0
       extend Waves::Mapping
0
+
0
+ path '/', :method => :get do
0
+ redirect("/entries")
0
+ end
0
+
0
       path %r{^/comments/?$}, :method => :post do
0
         resource( :comment ) do
0
           controller { comment = create; redirect( "/entry/#{comment.entry.name}" ) }

Comments

    No one has commented yet.