Fix announcement pagination in front-end
This commit is contained in:
1 parent
0b1f83c042
commit
4dd9b7ffa4
6 files changed
+12
-9
No files matched your search
@@ -30,7 +30,11 @@ class PagesController < ApplicationController
|
||||
end
|
||||
|
||||
def index_from_link
|
||||
redirect_to "/#{@item.full_name}"
|
||||
if params[:page]
|
||||
redirect_to "/#{@item.full_name}?page=#{params[:page]}"
|
||||
else
|
||||
redirect_to "/#{@item.full_name}"
|
||||
end
|
||||
end
|
||||
|
||||
def show_from_link
|
||||
|
||||
Reference in new issue
Block a user