new archive

This commit is contained in:
unknown authored and Christophe Vilayphiou committed 2012-08-10 15:17:16 +08:00
1 parent e8cea9f0ab
commit 2dd2abc8d2
2 files changed
+11 -1

No files matched your search

@@ -5,7 +5,7 @@ class Panel::PageContent::BackEnd::PageContextsController < OrbitBackendControll
#before_filter :is_admin?
def index
@page_contexts = params[:sort] ? get_sorted_and_filtered("page_contexts", {:archived => false}) : PageContext.where(:archived => false).page(params[:page]).per(10)
respond_to do |format|