From 104e2f8542fcf1df8285ac78823ee62607960f96 Mon Sep 17 00:00:00 2001 From: yanxd Date: Sat, 18 Jan 2014 08:51:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AE=B9=E4=B8=8D=E4=B8=80=E8=87=B4?= =?UTF-8?q?=E5=BC=95=E8=B5=B7=E7=9A=84=E8=B7=AF=E7=94=B1=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helpers/stores_helper.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/helpers/stores_helper.rb b/app/helpers/stores_helper.rb index 26f1c7630..c01fae55e 100644 --- a/app/helpers/stores_helper.rb +++ b/app/helpers/stores_helper.rb @@ -94,6 +94,9 @@ module StoresHelper Rails.logger.error "ERROR: attachment type unkown" [link_to('unkown', '')] end + rescue ActionController::RoutingError => e + Rails.logger.error "ERROR: RoutingError #{e}" + [link_to('unkown', '')] end def project_link project