a small fix for locales for ajax

This commit is contained in:
Harry Bomrah 2014-11-03 20:39:16 +08:00
parent 067f7b18e5
commit 0e2bd7b71f
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@
"type" : "get",
"dataType" : "html",
"data" : {"sub_part_id" : $("#annoucement_link_widget").data("subpart-id")},
"url" : "/xhr/announcement_link_widget/content"
"url" : "/<%= I18n.locale.to_s %>/xhr/announcement_link_widget/content"
}).done(function(data){
$("#annoucement_link_widget").html(data);
bindHandlers()
bindHandlers();
})
});