Use the path helpers for nested project resources, for Rails 4.1.9 compatibility.
http://feedback.gitlab.com/forums/176466-general/suggestions/5529795-search-though-snippets