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
Search Repo:
Merge branch 'master' of git@github.com:wycats/merb-core
ivey (author)
Wed Feb 13 07:55:51 -0800 2008
commit  d1d519fe19dcd2d58d349f4216c642588278997d
tree    b328533aef28097d6e0aa3e883fe678d9e4a241a
parent  69b0af440c26bf218c1098461df2fb398e129909 parent  6e5c54fe6390ed1c250b0e839b16cf83c32d172b
...
103
104
105
106
 
107
108
109
 
110
111
112
113
114
...
103
104
105
 
106
107
108
109
110
111
 
112
113
114
0
@@ -103,12 +103,12 @@ module Merb
0
     # Framework paths
0
     def framework_root() @framework_root ||= File.dirname(__FILE__) end
0
 
0
- def flat!(&block)
0
+ def flat!
0
       Merb::Config[:framework] = {}
0
 
0
       Merb::Router.prepare do |r|
0
+ yield(r) if block_given?
0
         r.default_routes
0
- block.call(r) if block_given?
0
       end
0
     end
0
 

Comments

    No one has commented yet.