//
// -- Add description here --
//
// @author your name
// @link https://github.com/viadeo/tetra/wiki/Controller-layer
//
tetra.controller.register('{{name}}', {

    scope: '{{scope}}',

    use: [{{#if modelName}}'{{modelName}}'{{/if}}],

    constr: function (me, app, page, orm) {

        'use strict';

        return {

            events:{
                model:{
                    // Add model callbacks
                },

                view:{
                    // Add view callbacks
                }
            },

            // Uncomment for controller-based template rendering

            //actions:{
            //  'render': function(data, render) {
            //
            //  }
            //},

            methods:{
                init: function() {
                    // Initialization code here
                }
            }
        };
    }
});