gitolite & gitosis support
This commit is contained in:
parent
c03bc6e291
commit
9e089efe5a
14 changed files with 200 additions and 98 deletions
|
@ -42,7 +42,7 @@ class ProjectsController < ApplicationController
|
|||
format.js
|
||||
end
|
||||
end
|
||||
rescue Gitosis::AccessDenied
|
||||
rescue Gitlabhq::Gitosis::AccessDenied, Gitlabhq::Gitolite::AccessDenied
|
||||
render :js => "location.href = '#{errors_gitosis_path}'" and return
|
||||
rescue StandardError => ex
|
||||
@project.errors.add(:base, "Cant save project. Please try again later")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue