Controller

Marionette.Controller

Warning: deprecated. The Controller object is deprecated. Instead of using the Controller class with the AppRouter, you should specify your callbacks on a plain Javascript object or a Marionette Object

A Controller is an object used in the Marionette Router. Controllers are where you store your Router's callbacks.

Documentation Index

Basic Use

A Marionette.Controller is intended to solely be used within the Router.

// Create a Controller, giving it