需要一些帮助!
我正在尝试让我的主干路由器匹配此路由:
http://localhost:5150/search_results?utf8=%E2%9C%93&keywords=&location=Norfolk%2C+VA&commit=Search
..而且没有任何效果。非常令人沮丧!
这是我第一次尝试 Backbone,所以建议会很棒。
'/search_results?*': 'search_results'
# NOPE
'/search_results?foo=:foo': 'search_results'
# NOPE
'/search_results?foo*': 'search_results'
# NOPE
'/search_results?*queryString': 'search_results'
# NOPE
'search_results?*queryString': 'search_results'
# NOPE
'search_results?*': 'search_results'
# NOPE
'search_results?foo=:foo': 'search_results'
# NOPE
'search_results?foo*': 'search_results'
# NOPE
'/search_results': 'search_results'
# NOPE SERIOUSLY??
'/search_results': 'search_results'
# WTF!!!!!!!!!!!!!!!!!!!
':search_results?*': 'search_results'
# NOPE
':search_results?:querystring': 'search_results'
# NOPE