blob: 81a3809be3399a4e63fee3db7d8c78277c76e8f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class AdminController < ApplicationController
before_filter :login_required
def index
@drafts = Page.find(
:all,
:include => [:node, :user, :globalize_translations],
:conditions => ["nodes.draft_id = pages.id"]
)
end
end
|