Sha256: 2101de2f0fa4ca1e431916e4c14ae572de3497a2bb8a4a4457a1629a25acee4c

Contents?: true

Size: 202 Bytes

Versions: 5

Compression:

Stored size: 202 Bytes

Contents

module BaseControllerPatch
  def determine_active_admin_layout
    'activeadmin_custom_layout/application'
  end
end

module ActiveAdmin
  class BaseController
    prepend BaseControllerPatch
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin_custom_layout-0.1.9 lib/generators/activeadmin_custom_layout/install/files/custom_base_controller.rb
activeadmin_custom_layout-0.1.8 lib/generators/activeadmin_custom_layout/install/files/custom_base_controller.rb
activeadmin_custom_layout-0.1.7 lib/generators/activeadmin_custom_layout/install/files/custom_base_controller.rb
activeadmin_custom_layout-0.1.6 lib/generators/activeadmin_custom_layout/install/files/custom_base_controller.rb
activeadmin_custom_layout-0.1.5 lib/generators/activeadmin_custom_layout/install/files/custom_base_controller.rb