Class: Protege::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/protege/application_controller.rb

Overview

Base controller for all Protege engine controllers.

Declares the engine layout explicitly so Rails never falls back to the host application's layout when rendering engine views.

Engine route helpers (e.g. thread_path) are exposed to views via helper so they are available in partials rendered both from requests and from Turbo broadcast rendering.