Sha256: f73aa16b096f75ac8c72c5c35a4dde064118a99317852720b7d1e9d411e00b1a

Contents?: true

Size: 847 Bytes

Versions: 8

Compression:

Stored size: 847 Bytes

Contents

var app = angular.module('docBrowser', ['ui.router', 'ui.bootstrap', 'ngSanitize']);

app.config(function ($stateProvider, $urlRouterProvider) {
  $urlRouterProvider
    .otherwise('/');

  $stateProvider
    .state('root', {
      abstract: true,
      templateUrl: 'views/layout.html'
    })
    .state('root.home', {
      url: '/',
      templateUrl: 'views/home.html'
    })
    .state('root.controller', {
      url: '/:version/controller/:controller',
      templateUrl: 'views/controller.html',
      controller: 'ControllerCtrl'
    })
    .state('root.type', {
      url: '/:version/type/:type',
      templateUrl: 'views/type.html',
      controller: 'TypeCtrl'
    })
    .state('root.action', {
      url: '/:version/controller/:controller/:action',
      templateUrl: 'views/action.html',
      controller: 'ActionCtrl'
    });
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
praxis-0.13.0 lib/api_browser/app/js/app.js
praxis-0.11.2 lib/api_browser/app/js/app.js
praxis-0.11.1 lib/api_browser/app/js/app.js
praxis-0.11 lib/api_browser/app/js/app.js
praxis-0.11pre lib/api_browser/app/js/app.js
praxis-0.10.1 lib/api_browser/app/js/app.js
praxis-0.10.0 lib/api_browser/app/js/app.js
praxis-0.9 lib/api_browser/app/js/app.js