Module: PandaCms
- Extended by:
- Dry::Configurable
- Defined in:
- lib/panda_cms/exceptions_app.rb,
lib/panda_cms.rb,
lib/panda_cms/engine.rb,
lib/panda_cms/version.rb,
app/lib/panda_cms/slug.rb,
app/models/panda_cms/form.rb,
app/models/panda_cms/menu.rb,
app/models/panda_cms/page.rb,
app/models/panda_cms/post.rb,
app/models/panda_cms/user.rb,
app/models/panda_cms/block.rb,
app/models/panda_cms/visit.rb,
app/models/panda_cms/current.rb,
app/models/panda_cms/version.rb,
app/lib/panda_cms/bulk_editor.rb,
app/models/panda_cms/post_tag.rb,
app/models/panda_cms/redirect.rb,
app/models/panda_cms/template.rb,
app/models/panda_cms/menu_item.rb,
app/models/panda_cms/breadcrumb.rb,
app/mailers/panda_cms/form_mailer.rb,
app/models/panda_cms/page_version.rb,
app/models/panda_cms/post_version.rb,
app/helpers/panda_cms/pages_helper.rb,
app/helpers/panda_cms/theme_helper.rb,
app/jobs/panda_cms/application_job.rb,
app/models/panda_cms/block_content.rb,
app/builders/panda_cms/form_builder.rb,
app/jobs/panda_cms/record_visit_job.rb,
app/lib/panda_cms/editor_js/renderer.rb,
app/models/panda_cms/form_submission.rb,
app/lib/panda_cms/demo_site_generator.rb,
app/models/panda_cms/template_version.rb,
app/components/panda_cms/code_component.rb,
app/components/panda_cms/grid_component.rb,
app/components/panda_cms/menu_component.rb,
app/components/panda_cms/text_component.rb,
app/lib/panda_cms/editor_js/blocks/base.rb,
app/lib/panda_cms/editor_js/blocks/list.rb,
app/models/panda_cms/application_record.rb,
app/helpers/panda_cms/admin/files_helper.rb,
app/helpers/panda_cms/admin/pages_helper.rb,
app/helpers/panda_cms/application_helper.rb,
app/lib/panda_cms/editor_js/blocks/alert.rb,
app/lib/panda_cms/editor_js/blocks/image.rb,
app/lib/panda_cms/editor_js/blocks/quote.rb,
app/lib/panda_cms/editor_js/blocks/table.rb,
app/mailers/panda_cms/application_mailer.rb,
app/lib/panda_cms/editor_js/blocks/header.rb,
app/constraints/panda_cms/admin_constraint.rb,
app/controllers/panda_cms/pages_controller.rb,
app/controllers/panda_cms/posts_controller.rb,
app/models/panda_cms/block_content_version.rb,
app/controllers/panda_cms/errors_controller.rb,
app/components/panda_cms/admin/tag_component.rb,
app/components/panda_cms/page_menu_component.rb,
app/components/panda_cms/rich_text_component.rb,
app/lib/panda_cms/editor_js/blocks/paragraph.rb,
app/components/panda_cms/admin/panel_component.rb,
app/components/panda_cms/admin/table_component.rb,
app/components/panda_cms/admin/button_component.rb,
app/components/panda_cms/admin/heading_component.rb,
app/components/panda_cms/admin/tab_bar_component.rb,
app/controllers/panda_cms/admin/files_controller.rb,
app/controllers/panda_cms/admin/forms_controller.rb,
app/controllers/panda_cms/admin/menus_controller.rb,
app/controllers/panda_cms/admin/pages_controller.rb,
app/controllers/panda_cms/admin/posts_controller.rb,
app/controllers/panda_cms/application_controller.rb,
app/components/panda_cms/admin/container_component.rb,
app/components/panda_cms/admin/slideover_component.rb,
app/components/panda_cms/admin/statistics_component.rb,
app/controllers/panda_cms/admin/sessions_controller.rb,
app/controllers/panda_cms/admin/settings_controller.rb,
app/controllers/panda_cms/admin/dashboard_controller.rb,
app/components/panda_cms/admin/user_display_component.rb,
app/controllers/panda_cms/form_submissions_controller.rb,
app/components/panda_cms/admin/flash_message_component.rb,
app/components/panda_cms/admin/user_activity_component.rb,
app/controllers/panda_cms/admin/block_contents_controller.rb,
app/controllers/panda_cms/admin/settings/bulk_editor_controller.rb
Overview
Defined Under Namespace
Modules: Admin, ApplicationHelper, EditorJs, PagesHelper, ThemeHelper Classes: AdminConstraint, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Block, BlockContent, BlockContentVersion, BlockError, Breadcrumb, BulkEditor, CodeComponent, Current, DemoSiteGenerator, Engine, ErrorsController, ExceptionsApp, Form, FormBuilder, FormMailer, FormSubmission, FormSubmissionsController, GridComponent, Menu, MenuComponent, MenuItem, MissingBlockError, Page, PageMenuComponent, PageVersion, PagesController, Post, PostTag, PostVersion, PostsController, RecordVisitJob, Redirect, RichTextComponent, Slug, Template, TemplateVersion, TextComponent, User, Version, Visit
Constant Summary collapse
- VERSION =
"0.6.3"
Class Method Summary collapse
-
.root_path ⇒ Symbol
Returns the root path for the admin routes.
-
.route_namespace ⇒ Symbol
Defines the namespace for the admin routes.
-
.title ⇒ Symbol
Returns the title for the website.
Class Method Details
.root_path ⇒ Symbol
Returns the root path for the admin routes
50 51 52 |
# File 'lib/panda_cms.rb', line 50 def self.root_path PandaCms.config.admin_path end |
.route_namespace ⇒ Symbol
Defines the namespace for the admin routes
40 41 42 |
# File 'lib/panda_cms.rb', line 40 def self.route_namespace PandaCms.config.admin_path.delete_prefix("/").to_sym end |
.title ⇒ Symbol
Returns the title for the website
60 61 62 |
# File 'lib/panda_cms.rb', line 60 def self.title PandaCms.config.title end |