Class: Pgbus::ApplicationController
- Inherits:
-
Object
- Object
- Pgbus::ApplicationController
- Includes:
- Web::Authentication
- Defined in:
- app/controllers/pgbus/application_controller.rb
Direct Known Subclasses
Pgbus::Api::InsightsController, Pgbus::Api::MetricsController, Pgbus::Api::StatsController, DashboardController, DeadLetterController, EventsController, InsightsController, JobsController, LocaleController, LocksController, OutboxController, ProcessesController, QueuesController, RecurringTasksController
Instance Method Summary collapse
-
#pgbus ⇒ Object
Make ‘pgbus` route proxy available in views (e.g. pgbus.root_path).
Instance Method Details
#pgbus ⇒ Object
Make ‘pgbus` route proxy available in views (e.g. pgbus.root_path). With isolate_namespace, the non-prefixed helpers (root_path) work inside the engine, but the views use the pgbus.* proxy form for clarity.
24 25 26 |
# File 'app/controllers/pgbus/application_controller.rb', line 24 def pgbus @pgbus ||= Pgbus::Engine.routes.url_helpers end |