rails/cache_digests — pull request #6 by mrship (2012-10-11 14:44:17+00:00)
Title: Support templates in directories several levels deep

I have a view template structure in my Rails app that goes several directories deep.

To support that with cache_digests, this patch alters the ```#directory``` method in ```CacheDigests::TemplateDigestor```to pop the template name off the end of the path and return the full view directory structure instead of taking just the first directory.

I'm sure I won't be the only one with views nested more than one directory deep, so can this be considered please. Thanks.