class ActiveAdmin::Page
Public Instance Methods
belongs_to(target, options = {})
click to toggle source
# File lib/active_admin/subnav/extensions/page.rb, line 3 def belongs_to(target, options = {}) @belongs_to = Resource::BelongsTo.new(self, target, options) self.sub_navigation_menu_name = target controller.send :belongs_to, target, options.dup end