w
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

routers.js
application/javascript

Download raw (554 bytes)

;
window.W = window.W || {};


;
(function (undefined) {
    'use strict';

    W.ScoreRouter = Marionette.AppRouter.extend({
        appRoutes: {
            '': 'home',
            'la-notation-w(/)': 'about',
            'credits(/)': 'credits',
            'partitions(/)': 'scoreList',
            'partitions/:id(/)': 'scoreDetail',
            'users(/)': 'userList',
            'compte(/)': 'userDetail',
        },

        initialize: function (options) {
            this.controller = new W.ScoreController(options);
        },
    });
})();