summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-05 09:43:53 +0200
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2011-12-05 09:43:53 +0200
commitbdc658095c6bc7e7a2a49447b404156f3f947fe1 (patch)
tree4458e4804b0e5b21807ca16e4ade1d3211f5f404 /app/controllers/application_controller.rb
parent8134fe0efe287f6512b7684d4c654b2d43f3df9d (diff)
downloadgitlab-ce-bdc658095c6bc7e7a2a49447b404156f3f947fe1.tar.gz
refcatoring. cleaning after gitosis
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 1f971302889..dd0c3c3ec55 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -3,8 +3,8 @@ class ApplicationController < ActionController::Base
protect_from_forgery
helper_method :abilities, :can?
- rescue_from Gitlabhq::Gitosis::AccessDenied, Gitlabhq::Gitolite::AccessDenied do |exception|
- render :file => File.join(Rails.root, "public", "gitosis_error"), :layout => false
+ rescue_from Gitlabhq::Gitolite::AccessDenied do |exception|
+ render :file => File.join(Rails.root, "public", "githost_error"), :layout => false
end
layout :layout_by_resource