Sha256: 516d7ded87de7f5ed2e6b356a806e63b0876c0c96dc6908ccd1e07810800a3c4

Contents?: true

Size: 319 Bytes

Versions: 5

Compression:

Stored size: 319 Bytes

Contents

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
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
activeadmin-0.4.0 lib/active_admin/page_controller.rb
andrewroth_activeadmin-0.3.4.4 lib/active_admin/page_controller.rb
andrewroth_activeadmin-0.3.4.3 lib/active_admin/page_controller.rb
andrewroth_activeadmin-0.3.4.2 lib/active_admin/page_controller.rb
andrewroth_activeadmin-0.3.4.1 lib/active_admin/page_controller.rb