summaryrefslogtreecommitdiff
path: root/app/controllers/admin_controller.rb
blob: 06c5390f1dc53c402b21c43e22846f317fab5e1c (plain)
1
2
3
4
5
6
7
8
class AdminController < ApplicationController
  before_filter :login_required

  def index
    @drafts = Page.find(:all, :include => [:node, :user], :conditions => ["nodes.draft_id = pages.id"])
  end
  
end