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

exceptionHandle
yanxd 12 years ago
parent c941c640dd
commit 104e2f8542

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

Loading…
Cancel
Save