apotonick/cells — pull request #136 by EnotPoloskun (2012-09-10 20:58:38+00:00)
Title: Flash and cookies are available in cells views and controllers

Hello. Thank you for your gem. It is very usefull and I think that in future it will be used in every rails app. And I want to try helping you to make it better.

I believe that having flash and cookies available in cell have more pros than cons. I know that you can use it like
`` parent_controller.cookies ``
or
`` parent_controller.flash``
But sometimes it's not the way to solve this problem.
For example, you can have a helper method that uses cookies, and you need to rewrite helper's method to use it in cell because you have to use ``parent_controller`` for using cookies.