class ActiveAdmin::AbstractViewFactory

def register(view_hash)


another_view: OtherViewClass
factory.register my_view: SomeClass,

You can setup many at the same time:

factory.register my_view: SomeViewClass
factory = AbstractViewFactory.new

eg:

Register a new view key with the view factory
def register(view_hash)
  self.class.register view_hash
end