Module: Mbeditor::EditorBootstrap

Defined in:
lib/mbeditor/editor_bootstrap.rb

Overview

Generates the inline bootstrap JavaScript shared by the standard editor layout (app/views/layouts/mbeditor/application.html.erb) and the pending-migrations fallback shell (Mbeditor::Rack::HandlePendingMigrations). Both pages must boot the editor identically; keeping the script bodies here is what stops the two copies drifting apart.

Class Method Summary collapse