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 splats back to action handling.
dyoder (author)
Mon Aug 25 17:11:33 -0700 2008
automatthew (committer)
Tue Aug 26 06:35:37 -0700 2008
commit  37203d29328f63491a475f68cddaa1f96d4af24c
tree    c4d511a16f56b004ed279102840dd85cf9b6890b
parent  e326686bc08410c3eee9b65c23b6d7daf6da95e5
...
25
26
27
28
 
29
30
31
...
49
50
51
52
 
53
54
55
...
25
26
27
 
28
29
30
31
...
49
50
51
 
52
53
54
55
0
@@ -25,7 +25,7 @@ module Waves
0
           ( params = @pattern.match( request ) ) and Binding.new( self, params ) )
0
       end
0
       
0
- def call( args )
0
+ def call( *args )
0
         request = args.first
0
         if @block
0
           @resource.new( request ).instance_eval( &@block )
0
@@ -49,7 +49,7 @@ module Waves
0
       def call( *args )
0
         request = args.first
0
         request.params.merge!( @params )
0
- @action.call( args )
0
+ @action.call( *args )
0
       end
0
     
0
       def method_missing(name,*args,&block)
...
11
12
13
14
 
15
16
17
...
11
12
13
 
14
15
16
17
0
@@ -11,7 +11,7 @@ module Waves
0
         super( options )
0
       end
0
       
0
- def call( args )
0
+ def call( *args )
0
         request, exception = args
0
         if @block
0
           @resource.new( request ).instance_exec( exception, &@block )

Comments

    No one has commented yet.