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
added redirect for GET to '/' in sample blog
automatthew (author)
Sun Jun 15 18:48:59 -0700 2008
commit  388f2e628f79696213360067664998072edcd015
tree    a3064b25db3461e849ad6518e7609a1103cbb21c
parent  f7087c50e985b45c2499abe5aa72d46c2664b8ae
...
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.