summaryrefslogtreecommitdiff
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r--app/controllers/admin_controller.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 81a3809..d61de30 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -2,11 +2,7 @@ class AdminController < ApplicationController
2 before_filter :login_required 2 before_filter :login_required
3 3
4 def index 4 def index
5 @drafts = Page.find( 5 @drafts = Page.drafts
6 :all,
7 :include => [:node, :user, :globalize_translations],
8 :conditions => ["nodes.draft_id = pages.id"]
9 )
10 end 6 end
11 7
12end 8end