diff options
Diffstat (limited to 'app/controllers/admin_controller.rb')
| -rw-r--r-- | app/controllers/admin_controller.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 06c5390..81a3809 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb | |||
| @@ -2,7 +2,11 @@ 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(:all, :include => [:node, :user], :conditions => ["nodes.draft_id = pages.id"]) | 5 | @drafts = Page.find( |
| 6 | :all, | ||
| 7 | :include => [:node, :user, :globalize_translations], | ||
| 8 | :conditions => ["nodes.draft_id = pages.id"] | ||
| 9 | ) | ||
| 6 | end | 10 | end |
| 7 | 11 | ||
| 8 | end | 12 | end |
