engine/app/controllers/application_controller.rb
Jacques Crocker cc8ae8e18c Oops, didnt quite understand the "consider requests local" flag.
Reverting it to its previous settings
2010-07-30 23:50:44 -07:00

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