组织文章设为首页后,跳转至首页

This commit is contained in:
ouyangxuhua 2015-12-11 16:58:00 +08:00
parent e98338bf22
commit be590497b9
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
//location.reload(); //location.reload();
window.location.href ='<%= organization_path(@org, :show_homepage => params[:show_homepage])%>'; window.location.href ='<%= organization_path(@org, :show_homepage => 1)%>';