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

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Fixed exception setting route when route_index is nil

Signed-off-by: Michael D. Ivey <ivey@gweezlebur.com>
daikini (author)
Mon Mar 24 10:55:01 -0700 2008
ivey (committer)
Mon Mar 24 11:05:14 -0700 2008
commit  0f3cc717b6158809625b3b8c6c1597714d9f5f4f
tree    c0f0477d0f3aea571cba804997192dff50cd0255
parent  76a0dde86f08401ff6dcbda628e5cdee57d103ee
...
65
66
67
68
 
69
70
71
...
65
66
67
 
68
69
70
71
0
@@ -65,7 +65,7 @@ class Merb::Dispatcher
0
 
0
       controller = dispatch_action(klass, action, request)
0
       controller._benchmarks[:dispatch_time] = Time.now - start
0
- controller.route = Merb::Router.routes[route_index]
0
+ controller.route = Merb::Router.routes[route_index] if route_index
0
       Merb.logger.info controller._benchmarks.inspect
0
       Merb.logger.flush
0
 

Comments

    No one has commented yet.