Class: I18nProofreading::ApplicationController

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

Overview

Root of the engine's PUBLIC surface: widget.js, the context lookup and the suggestion endpoint. These stay on a plain ActionController::Base deliberately — a proofreader suggesting a translation must not be routed through a host's admin controller, which would demand a staff session.

The dashboard's root is DashboardController, and that is where config.base_controller_class applies.

Direct Known Subclasses

SubmissionsController, WidgetsController