examples/webapp using pjax/mojits/Navigation/controller.server.js
function(ac) {
            var data = {},
                selectedmojit = ac.params.getFromRoute('mojit') || 'none';
            data[selectedmojit] = true;
            ac.assets.addCss('./index.css');
            ac.done(data);
        }
function(ac) {
            var data = {},
                selectedmojit = ac.params.getFromRoute('mojit') || 'none';
            data[selectedmojit] = true;
            ac.assets.addCss('./index.css');
            ac.done(data);
        }
function ( ac ) { var data = { } , selectedmojit = ac . params . getFromRoute ( 'mojit' ) || 'none' ; data [ selectedmojit ] = true ; ac . assets . addCss ( './index.css' ) ; ac . done ( data ) ; }
Method corresponding to the 'index' action.

@param ac {Object} The ActionContext that provides access
to the Mojito API.
Method corresponding to the index action .