我正在使用flowrouter进行路由(使用blaze布局),当路由不包含变量时,它在Internet Explorer中工作正常,但是当我尝试使用变量转到路由时,flowrouter会显示404页。它仅在Internet Explorer中发生。
#This route works fine
FlowRouter.route '/products',
name: 'Products.index',
action: () ->
BlazeLayout.render('index', {main: 'productIndex', head: 'header'})
#But instead of this route flowrouter shows 404 page
FlowRouter.route '/products/:id',
name: 'Products.page',
action: () ->
BlazeLayout.render('index', {main: 'currProductPage', head: 'header'})