rename registration finished to confirmation
[angular-drzb] / app / js / app.js
index b91b652..5938a2b 100644 (file)
@@ -4,9 +4,9 @@
 // Declare app level module which depends on filters, and services
 angular.module('myApp', ['myApp.filters', 'myApp.services', 'myApp.directives']).
   config(['$routeProvider', function($routeProvider) {
-    $routeProvider.when('/registration', {templateUrl: 'partials/registration.html', controller: RegistrationCtrl});
     $routeProvider.when('/registration/:registrationId', {templateUrl: 'partials/registration.html', controller: RegistrationCtrl});
-    $routeProvider.when('/registration-finished/:registrationId', {templateUrl: 'partials/registration-finished.html', controller: RegistrationCtrl});
+    $routeProvider.when('/confirmation/:registrationId', {templateUrl: 'partials/confirmation.html', controller: RegistrationCtrl});
+    $routeProvider.when('/list', {templateUrl: 'partials/list.html', controller: ListCtrl});
     $routeProvider.when('/view2', {templateUrl: 'partials/partial2.html', controller: MyCtrl2});
-    $routeProvider.otherwise({redirectTo: '/registration'});
+    $routeProvider.otherwise({redirectTo: '/registration/'});
   }]);