Class: Ideasbugs::DashboardController

Inherits:
Object
  • Object
show all
Includes:
RequestContext
Defined in:
app/controllers/ideasbugs/dashboard_controller.rb

Overview

Root of the STAFF surface: the triage queue and the screenshot proxy.

Inherits from config.base_controller_class — by default a plain ActionController::Base, which is why authorize_admin exists. Point it at the controller your own admin already inherits from and the dashboard picks up that stack wholesale: your layout, your helpers, your authentication, and whatever request context your before_actions establish.

Only the dashboard hangs off it. The widget's endpoint stays on ApplicationController, so wiring an admin base controller here can never demand a staff session from someone filing a report.

Direct Known Subclasses

FeedbacksController, ScreenshotsController