Sha256: d8fc3bc19e2fe33a158912e1e42cb3ad397693a50ce69c9bf3f5040daa3b2547
Contents?: true
Size: 446 Bytes
Versions: 9
Compression:
Stored size: 446 Bytes
Contents
module ActiveAdmin module Views module Pages class Page < Base def main_content page_presenter = active_admin_config.get_page_presenter(:index) if page_presenter && page_presenter.block instance_exec &page_presenter.block else nil end end protected def title active_admin_config.name end end end end end
Version data entries
9 entries across 9 versions & 2 rubygems