From ac7c35a84a6cc88807ab582517c731b1fb21aee6 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 28 Oct 2013 18:53:09 -0700 Subject: temporarily disable i18n fix until ruby 1.9 is running. --- app/controllers/pages_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app') diff --git a/app/controllers/pages_controller.rb b/app/controllers/pages_controller.rb index 933aed7..ab239c8 100644 --- a/app/controllers/pages_controller.rb +++ b/app/controllers/pages_controller.rb @@ -5,9 +5,9 @@ class PagesController < ApplicationController layout :choose_layout rescue_from ActionView::MissingTemplate, :with => :render_404 rescue_from PageNotFound, :with => :render_404 - rescue_from Encoding::CompatibilityError do |exception| - render_500(exception.to_s) - end + #rescue_from Encoding::CompatibilityError do |exception| + # render_500(exception.to_s) + #end def show @page = site.find_pages(params[:page]) -- cgit v1.2.3