lib/active_admin/page_controller.rb



module ActiveAdmin

  # All Pages controllers inherit from this controller.
  class PageController < BaseController

    # Pages::Page subclasses Page::Base which implements the layout code
    layout false

    actions :index

    def index(options={}, &block)
      render "active_admin/page/index"
    end
    
    def clear_page_actions!
      active_admin_config.clear_page_actions!
    end
  end
end