new archive

This commit is contained in:
unknown committed 2012-04-13 15:24:19 +08:00
1 parent ad740b0daf
commit 0bcb74d793
87 files changed
+1744 -5

No files matched your search

@@ -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
@@ -17,4 +17,6 @@
</tbody>
</table>
<%= paginate @page_contexts %>