Links not updated after change to gitlab url

Hello, I have changed the gitlab url so that gitlab is accessible from from http:///gitlab rather than just http://
Most of the links work fine. However I noticed that old projects still link to the old URL. However new projects link to the new URL.

In other words; the URL of an old project is http:///administrator/my-old-project while that of new project is http:///gitlab/administrator/my-new-project. I can see this in the project list on the right.

Does anyone know why this is happening?
Do I need to clear some cache?

I am using GitLab 7.10.1 (Source)

The following are the steps I followed:

Edit /home/git/gitlab/config/gitlab.yml
Edit /home/git/gitlab/config/application.rb
Edit /home/git/gitlab/config/unicorn.rb
Edit /home/git/gitlab-shell/config.yml

cd /home/git/gitlab
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production RAILS_RELATIVE_URL_ROOT=/gitlab
service gitlab restart
service nginx restart

As I said all links seem ok, only links to old project seem not to be working.

It seems when I commit a project the path gets updated for that project!