Module: Panda::Core

Defined in:
lib/panda/core.rb,
lib/panda/core/seo.rb,
lib/panda/core/debug.rb,
lib/panda/core/media.rb,
lib/panda/core/engine.rb,
lib/panda/core/railtie.rb,
lib/panda/core/version.rb,
lib/panda/core/sluggable.rb,
lib/panda/core/middleware.rb,
lib/panda/core/rake_tasks.rb,
app/models/panda/core/user.rb,
lib/panda/core/asset_loader.rb,
lib/panda/core/configuration.rb,
lib/panda/core/notifications.rb,
app/models/panda/core/current.rb,
lib/panda/core/authentication.rb,
app/components/panda/core/base.rb,
lib/panda/core/module_registry.rb,
lib/panda/core/oauth_providers.rb,
app/models/panda/core/breadcrumb.rb,
app/components/panda/core/UI/card.rb,
lib/panda/core/component_registry.rb,
app/components/panda/core/UI/badge.rb,
lib/panda/core/engine/phlex_config.rb,
lib/panda/core/engine/route_config.rb,
app/components/panda/core/UI/button.rb,
app/helpers/panda/core/asset_helper.rb,
app/builders/panda/core/form_builder.rb,
lib/panda/core/services/base_service.rb,
lib/panda/core/engine/autoload_config.rb,
lib/panda/core/engine/omniauth_config.rb,
app/helpers/panda/core/sessions_helper.rb,
lib/panda/core/engine/generator_config.rb,
lib/panda/core/engine/importmap_config.rb,
lib/panda/core/shared/generator_config.rb,
app/models/concerns/panda/core/has_uuid.rb,
app/models/panda/core/application_record.rb,
lib/panda/core/engine/inflections_config.rb,
lib/panda/core/shared/inflections_config.rb,
app/constraints/panda/core/admin_constraint.rb,
app/components/panda/core/admin/tag_component.rb,
app/services/panda/core/attach_avatar_service.rb,
lib/panda/core/engine/admin_controller_config.rb,
app/components/panda/core/admin/panel_component.rb,
app/components/panda/core/admin/table_component.rb,
app/components/panda/core/admin/button_component.rb,
app/controllers/panda/core/admin/base_controller.rb,
app/components/panda/core/admin/heading_component.rb,
app/components/panda/core/admin/tab_bar_component.rb,
app/controllers/panda/core/application_controller.rb,
lib/panda/core/testing/support/system/chrome_path.rb,
app/components/panda/core/admin/container_component.rb,
app/components/panda/core/admin/slideover_component.rb,
lib/panda/core/testing/support/system/cuprite_setup.rb,
app/components/panda/core/admin/breadcrumb_component.rb,
app/components/panda/core/admin/form_error_component.rb,
app/components/panda/core/admin/form_input_component.rb,
app/components/panda/core/admin/statistics_component.rb,
app/controllers/panda/core/admin/sessions_controller.rb,
app/controllers/panda/core/admin/settings_controller.rb,
lib/panda/core/subscribers/authentication_subscriber.rb,
app/components/panda/core/admin/form_select_component.rb,
app/components/panda/core/admin/page_header_component.rb,
app/controllers/panda/core/admin/dashboard_controller.rb,
lib/panda/core/testing/support/authentication_helpers.rb,
lib/panda/core/testing/support/system/cuprite_helpers.rb,
app/components/panda/core/admin/file_gallery_component.rb,
app/components/panda/core/admin/user_display_component.rb,
app/controllers/panda/core/admin/my_profile_controller.rb,
app/components/panda/core/admin/flash_message_component.rb,
app/components/panda/core/admin/user_activity_component.rb,
app/controllers/panda/core/admin/test_sessions_controller.rb,
lib/panda/core/testing/support/system/system_test_helpers.rb,
lib/panda/core/testing/support/authentication_test_helpers.rb,
lib/panda/core/testing/support/system/ferrum_console_logger.rb

Defined Under Namespace

Modules: Admin, AssetHelper, Authentication, AuthenticationHelpers, AuthenticationTestHelpers, Debug, HasUUID, Media, Middleware, Notifications, OAuthProviders, RakeTasks, SEO, Services, SessionsHelper, Shared, Sluggable, Subscribers, Testing, UI Classes: AdminConstraint, ApplicationController, ApplicationRecord, AssetLoader, AttachAvatarService, Base, Breadcrumb, ComponentRegistry, Configuration, Current, Engine, FormBuilder, ModuleRegistry, Railtie, User

Constant Summary collapse

VERSION =
"0.12.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject



110
111
112
# File 'lib/panda/core/configuration.rb', line 110

def config
  @config ||= Configuration.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



114
115
116
# File 'lib/panda/core/configuration.rb', line 114

def configure
  yield(config)
end

.reset_config!Object Also known as: reset_configuration!



118
119
120
# File 'lib/panda/core/configuration.rb', line 118

def reset_config!
  @config = Configuration.new
end

.rootObject



8
9
10
# File 'lib/panda/core.rb', line 8

def self.root
  File.expand_path("../..", __FILE__)
end