...
| Code Block | ||
|---|---|---|
| 
 | ||
| // At the top of Controller.js define the file path and add the class name to the function
define([..., 'views/ExampleView'],
	function(..., ExampleView)
 
Backbone.Marionette.Controller.extend(
{
	...
	example : function()
	{
    	this.layout.mainRegion.show(new ExampleView());
	}
	...
} | 
...