layout selected by controller name

This commit is contained in:
Cyril 2012-09-26 22:24:52 +02:00
parent 078a8f0e66
commit bdf317addc
7 changed files with 12 additions and 30 deletions

View file

@ -1,6 +1,4 @@
class ErrorsController < ApplicationController
layout "error"
def githost
render "errors/gitolite"
end