better error handling for not found resource, gitolite error
This commit is contained in:
parent
9e6d0710e9
commit
7d279f9302
9 changed files with 73 additions and 7 deletions
|
@ -1,5 +1,7 @@
|
|||
class ErrorsController < ApplicationController
|
||||
layout "error"
|
||||
|
||||
def githost
|
||||
render :file => File.join(Rails.root, "public", "githost_error"), :layout => false
|
||||
render "errors/gitolite"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue