Make gitlab works with gitlab-shell

This commit is contained in:
Dmitriy Zaporozhets 2013-02-04 15:07:56 +02:00
parent 6b9a609044
commit 27d9ac0fe8
9 changed files with 44 additions and 71 deletions

View file

@ -10,11 +10,6 @@ class ApplicationController < ActionController::Base
helper_method :abilities, :can?
rescue_from Gitlab::Gitolite::AccessDenied do |exception|
log_exception(exception)
render "errors/gitolite", layout: "errors", status: 500
end
rescue_from Encoding::CompatibilityError do |exception|
log_exception(exception)
render "errors/encoding", layout: "errors", status: 500