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
not_found after mapping[:before]
lawrencepit (author)
Mon Apr 21 01:29:35 -0700 2008
commit  3d5932dd367c0149061ccdd2878d9221f6706750
tree    9027b820d61796a8255971aa8ca8aa774b98420e
parent  776a6d4ad958dab674527464c0e07eef59854941
...
35
36
37
38
39
40
41
42
 
 
43
44
45
...
35
36
37
 
 
38
39
40
41
42
43
44
45
0
@@ -35,11 +35,11 @@ module Waves
0
 
0
           mapping = Waves::Application.instance.mapping[ request ]
0
           
0
- not_found(request) unless mapping[:action]
0
-
0
           mapping[:before].each do | block, args |
0
            ResponseProxy.new(request).instance_exec(*args,&block)
0
           end
0
+
0
+ not_found(request) unless mapping[:action]
0
       
0
           block, args = mapping[:action]
0
           response.write( ResponseProxy.new(request).instance_exec(*args, &block) )
...
163
164
165
166
 
167
168
169
...
163
164
165
 
166
167
168
169
0
@@ -163,7 +163,7 @@ module Waves
0
   
0
    # Maps a request to a block that will be executed within it's
0
    # own thread. This is especially useful when you're running
0
- # with an event driver server like thin or ebb, and this block
0
+ # with an event driven server like thin or ebb, and this block
0
    # is going to take a relatively long time.
0
    def threaded( pat, options = {}, params = {}, &block)
0
    params[:threaded] = true

Comments

    No one has commented yet.