Rails 4 Caches Page with right slash end logic