作业和首页的加载更多传递page参数
This commit is contained in:
parent
0935a7eab1
commit
3208574a5e
|
@ -61,4 +61,4 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<input type="hidden" value="<%= page%>"/>
|
<input type="hidden" value="<%= page%>"/>
|
||||||
<%= link_to "点击展开更多",user_activities_path(@user.id,:type => type),:id => "show_more_activities",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
<%= link_to "点击展开更多",user_activities_path(@user.id,:type => type, :page => page),:id => "show_more_activities",:remote => "true",:class => "loadMore mt10 f_grey"%>
|
||||||
|
|
|
@ -54,4 +54,4 @@
|
||||||
<% end%>
|
<% end%>
|
||||||
|
|
||||||
<input type="hidden" value="<%= page%>" />
|
<input type="hidden" value="<%= page%>" />
|
||||||
<%= link_to "加载更多",user_homeworks_user_path(User.current.id),:id => "user_show_more_homework",:remote => "true",:class => "loadMore f_grey"%>
|
<%= link_to "加载更多",user_homeworks_user_path(User.current.id, :page=> page),:id => "user_show_more_homework",:remote => "true",:class => "loadMore f_grey"%>
|
Loading…
Reference in New Issue