讨论区如图分页当前页为最后一页,点击下一页建议返回第一页
This commit is contained in:
parent
03b7f91ed8
commit
a6bf791358
|
@ -199,7 +199,7 @@ class BoardsController < ApplicationController
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.js
|
format.js {render "show.js.erb"}
|
||||||
format.html {
|
format.html {
|
||||||
if @project
|
if @project
|
||||||
render :action => 'show', :layout => 'base_projects'
|
render :action => 'show', :layout => 'base_projects'
|
||||||
|
|
Loading…
Reference in New Issue