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
Updated pretty URLs.
dyoder (author)
Tue Jul 01 09:29:50 -0700 2008
commit  ebf0eb086bfef41b39fd8333b6dcad644f279170
tree    8d9c6da6a7f20a81b7b3e6db0d50c45827e4ff8e
parent  1fb8c50cd8dd7cef7d12002c14186a54169d0ef4
...
15
16
17
18
 
19
20
21
...
15
16
17
 
18
19
20
21
0
@@ -15,7 +15,7 @@ module Waves
0
       #
0
       # /resources # => get a list of all instances of resource
0
       # /resource/name # => get a specific instance of resource with the given name
0
- # /resource/name/editor # => display an edit page for the given resource
0
+ # /resource/name/view # => display a specific view for the given resource
0
       #
0
       module GetRules
0
 
...
6
7
8
 
9
10
11
...
6
7
8
9
10
11
12
0
@@ -6,6 +6,7 @@ module Blog
0
       
0
       extend Waves::Mapping
0
       
0
+
0
       # specific to comments - on create redirect to the entry, not the comment itself
0
       action :create, :resource => :comment, :post => [ '/comments' ] do
0
         redirect( Blog::Resources::Entries.paths.read( action( :create ).entry.name ) )

Comments

    No one has commented yet.