// Generated by CoffeeScript 1.6.2
(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  define(['marionette', 'app.lib/controller'], function(Marionette, Controller) {
    var DssRouter, _ref;

    return DssRouter = (function(_super) {
      __extends(DssRouter, _super);

      function DssRouter() {
        _ref = DssRouter.__super__.constructor.apply(this, arguments);
        return _ref;
      }

      DssRouter.prototype.controller = new Controller;

      DssRouter.prototype.appRoutes = {
        "": "home",
        "/": "home",
        "mix/upload": "uploadMix",
        "mixes": "showMixList",
        "mixes/:type": "showMixList",
        "mix/:slug": "showMix",
        "mix/edit/:slug": "editMix",
        "users": "showUserList",
        "user/:slug/favourites": "showUserFavourites",
        "user/:slug/likes": "showUserLikes",
        "user/:slug/followers": "showUserFollowers",
        "user/:slug/following": "showUserFollowing",
        "user/:slug": "showUserDetail",
        "me": "editUser"
      };

      return DssRouter;

    })(Marionette.AppRouter);
  });

}).call(this);
