Split gitolite backend. Use gitolite_config methods moved to separate class
This commit is contained in:
parent
137594dd08
commit
79021e674b
7 changed files with 241 additions and 186 deletions
|
@ -14,10 +14,6 @@ class ApplicationController < ActionController::Base
|
|||
render "errors/gitolite", layout: "error"
|
||||
end
|
||||
|
||||
rescue_from Gitlab::Gitolite::InvalidKey do |exception|
|
||||
render "errors/invalid_ssh_key", layout: "error"
|
||||
end
|
||||
|
||||
rescue_from Encoding::CompatibilityError do |exception|
|
||||
render "errors/encoding", layout: "error", status: 404
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue