diff options
| author | randx <dmitriy.zaporozhets@gmail.com> | 2012-05-26 13:37:49 +0300 |
|---|---|---|
| committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-05-26 13:37:49 +0300 |
| commit | 3272620f724737f4dbb5e8c02f1610946435cd29 (patch) | |
| tree | ae9fb3daccdf6b008ccb9c31d435e9548113c6ee /app/controllers/projects_controller.rb | |
| parent | 8ceb94081ac516ccaed43f0f4841725a4f9fe2db (diff) | |
| download | gitlab-ce-3272620f724737f4dbb5e8c02f1610946435cd29.tar.gz | |
lib/ refactoring. Module Gitlabhq renamed to Gitlab
Diffstat (limited to 'app/controllers/projects_controller.rb')
| -rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 38fd6f3e57e..246d43e8703 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -45,7 +45,7 @@ class ProjectsController < ApplicationController format.js end end - rescue Gitlabhq::Gitolite::AccessDenied + rescue Gitlab::Gitolite::AccessDenied render :js => "location.href = '#{errors_githost_path}'" and return rescue StandardError => ex @project.errors.add(:base, "Cant save project. Please try again later") |
