aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/api-documentation/router.js
blob: b187022a6bba8bb92f120a963a23bd7e47142ff8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
define(function () {

  return Backbone.Router.extend({

    routes: {
      '*path': 'show'
    },

    initialize: function (options) {
      this.app = options.app;
    },

    show: function (path) {
      this.app.controller.show(path);
    }
  });

});