new archive
This commit is contained in:
1 parent
ad740b0daf
commit
0bcb74d793
87 files changed
+1744
-5
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ class Panel::PageContent::BackEnd::PageContextsController < OrbitBackendControll
|
||||
|
||||
def index
|
||||
|
||||
@page_contexts = PageContext.where(:archived => false).desc(:updated_at)
|
||||
@page_contexts = PageContext.where(:archived => false).desc(:updated_at).page(params[:page]).per(10)
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
|
||||
+2
@@ -17,4 +17,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<%= paginate @page_contexts %>
|
||||
|
||||
|
||||
Reference in new issue
Block a user