public function removeTrailingSlash()
	{
		$pathInfo = $this->app['request']->getPathInfo();
		$requestUri = $this->app['request']->getRequestUri();

		$url = str_replace($pathInfo, rtrim($pathInfo, ' /'), $requestUri);

		return $this->redirect($url, Response::HTTP_MOVED_PERMANENTLY);
	}