presidentbeef/brakeman — pull request #550 by cschramm (2014-09-04 08:46:58+00:00)
Title: Make TemplateAliasProcessor work with top-level partials

For some reason the `template_name` method assumes that there is a slash in each partial's part, while it is perfectly valid to have global partials that are not contained in sub directory. For those the expression won't match and the method would fail due to a call to `nil.[]`.