Sha256: 9626a15bbf070b687a4ed7eed918933ed643da3ae8394637534ef3b01b09568b
Contents?: true
Size: 1.15 KB
Versions: 4
Compression:
Stored size: 1.15 KB
Contents
require 'simple_admin/version' require 'simple_admin/engine' module SimpleAdmin module Refinements require 'simple_admin/refinements/boolean' end module ResourceController require 'simple_admin/resource_controller/actions_builder' require 'simple_admin/resource_controller/controller_builder' require 'simple_admin/resource_controller/crudify' require 'simple_admin/resource_controller/crudify_dynamic_resource' require 'simple_admin/resource_controller/dynamic_fields' end module Helpers require 'simple_admin/helpers/url_helper' require 'simple_admin/helpers/boolean_helper' end require 'simple_admin/config' require 'simple_admin/search' class << self def mount_entities!(routing_mapper) SimpleAdmin::Entity.resource_attributes.each do |resource_name, model_klass_name| routing_mapper.resources(resource_name) controller_builder = SimpleAdmin::ResourceController::ControllerBuilder.new(resource_name) controller_builder.build! SimpleAdmin::ResourceController::ActionsBuilder.initialize_actions!(controller_builder.controller_klass, model_klass_name) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems