Class: Pressroom::ApplicationController

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/pressroom/application_controller.rb

Overview

Base controller for the admin.

Inherits from the host application's controller so that its layout, helpers, current_user and middleware apply here too. The constant is resolved in the class body: initializers run before controllers are autoloaded, so configuration is already in place.