molten-trunk/molten5_withgrid/vendor/plugins/exception_notification/lib/exception_notifiable.rb
# Modified to render a custom error page
Modified to render a custom error page
Modified to render a custom error page
def render_500
    respond_to do |type|
      type.html { render :template => "/error/500", :layout => 'blank', :status => "500 Error" }
      type.all  { render :nothing => true, :status => "500 Error" }
    end
  end
def render_500 respond_to do | type | type . html { render :template => "/error/500" , :layout => 'blank' , :status => "500 Error" } type . all { render :nothing => true , :status => "500 Error" } end end
Modified to render a custom error page
Modified to render a custom error page
# type.html { render :file => "#{RAILS_ROOT}/public/500.html", :status => "500 Error" }