nitweb/angular: add /classdef/:full_name page
[nit.git] / share / nitweb / javascripts / nitweb.js
index 9a4aa16..e426fea 100644 (file)
                                controller: 'EntityCtrl',
                                controllerAs: 'entityCtrl'
                        })
+                       .when('/classdef/:id', {
+                               templateUrl: 'views/classdef.html',
+                               controller: 'EntityCtrl',
+                               controllerAs: 'entityCtrl'
+                       })
                        .otherwise({
                                redirectTo: '/'
                        });