new archive

This commit is contained in:
unknown authored and Christophe Vilayphiou committed 2012-05-16 01:09:21 +08:00
1 parent 4e9bb1b583
commit cf5e6c1a96
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|