cc8ae8e18c
Reverting it to its previous settings
12 lines
252 B
Ruby
12 lines
252 B
Ruby
class ApplicationController < ActionController::Base
|
|
protect_from_forgery
|
|
|
|
protected
|
|
|
|
rescue_from Exception, :with => :render_error
|
|
|
|
def render_error
|
|
render :template => "/admin/errors/500", :layout => 'admin/box', :status => 500
|
|
end
|
|
end
|