内容不一致引起的路由错误

This commit is contained in:
yanxd 2014-01-18 08:51:20 +08:00
parent c941c640dd
commit 104e2f8542
1 changed files with 3 additions and 0 deletions

View File

@ -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