Skip to content

Commit

Permalink
fix bug,原感叹号会导致直接从地址栏进入时,session.get()取不到值
Browse files Browse the repository at this point in the history
  • Loading branch information
imyelo committed Dec 9, 2013
1 parent c33cdeb commit 4a8a647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sumeru/src/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ var runnable = function(fw){
redirect:function(queryPath,paramMap,isforce){
var urlHash = queryPath;
if(paramMap){
urlHash += "!" + fw.utils.mapToUriParam(paramMap);
urlHash += "?" + fw.utils.mapToUriParam(paramMap);
}
fw.router.redirect(urlHash,isforce);
},
Expand Down

0 comments on commit 4a8a647

Please sign in to comment.