refinery/refinerycms — pull request #2040 by cheef (2012-11-23 09:14:20+00:00)
Title: Fixed 'Stack level too deep' error in pages

I've integrated RefineryCMS to my existing big application, but it won't work and raises 'Stack level too deep'. After several hours of debugging I found that problem was in using ```alias_method_chain``` in pages mixin for ```ApplicationController```. So I've simple refactor this code to use ```super``` instead of ```alias_method_chain```. By the way ```alias_method_chain``` is not welcome practice and there is no reason to use it there. Now all works fine. Hope guys you will apply this patch soon.