public
Description: Merb More: The Full Stack. Take what you need; leave what you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-more.git
Fixed BC break concerning new class_inheritable_accessor implementation
fabien (author)
Sun Jun 29 03:58:01 -0700 2008
commit  8011f7c11b77e48651a9d9fd67f13771a2ae377e
tree    d6b4094ed1c88dabd73c00c6ff7fc5b4c7bcba82
parent  2ea1dbff15099c2e19f63266e4dad12c12253081
...
34
35
36
37
38
 
 
39
40
41
...
34
35
36
 
 
37
38
39
40
41
0
@@ -34,8 +34,8 @@ module Merb
0
               self.send(:extend, Merb::Slices::ControllerMixin::MixinMethods)
0
             end
0
             # Reference this controller's slice module
0
- self.send(:class_inheritable_reader, :slice)
0
- self.send(:write_inheritable_attribute, :slice, slice_mod)
0
+ self.class_inheritable_accessor :slice
0
+ self.slice = slice_mod
0
             # Setup template roots
0
             if options[:templates_for]
0
               self._template_root = join_template_path(slice_mod.dir_for(options[:templates_for]), options[:path])

Comments

    No one has commented yet.