Commit d89b6a8a authored by Bahadir Can Yildiz's avatar Bahadir Can Yildiz

ADD rref #5340. Added wf and token params on request.

parent d5264732
......@@ -31,13 +31,16 @@ angular.module('ulakbus')
templateUrl: 'components/uitemplates/form_service_pg.html',
controller: 'FormServicePg'
})
// use crud without selected user
// important: regex urls must be defined later than static ones
.when('/:wf/', {
templateUrl: 'components/crud/templates/crud-preload.html',
controller: 'CRUDController'
})
.when('/cwf/:wf/:token', {
templateUrl: 'components/crud/templates/crud.html',
controller: 'CRUDController'
})
.when('/:wf/do/:cmd', {
templateUrl: 'components/crud/templates/crud.html',
controller: 'CRUDListFormController'
......@@ -60,6 +63,7 @@ angular.module('ulakbus')
})
.otherwise({redirectTo: '/dashboard'});
}])
.factory('IsOnline', function () {
......
......@@ -68,7 +68,8 @@ angular.module('ulakbus.crud', ['schemaForm', 'ui.bootstrap', 'ulakbus.formServi
id: scope.param_id || routeParams.param_id,
wf: routeParams.wf,
object_id: routeParams.key,
filters: {}
filters: {},
token: scope.token || routeParams.token
};
if (scope.param_id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment