Sha256: 5e2976aac5e718dbd7e12eb8b6984f73eb6c331545b575f4399a781d4818a420

Contents?: true

Size: 599 Bytes

Versions: 4

Compression:

Stored size: 599 Bytes

Contents

myModule.config(function($routeProvider) {

});

/** Here is example
myModule.config(function($routeProvider) {
    $routeProvider.when("/", {
        templateUrl: "pages/activity_list_page.html",
        controller: ActivityListController
    }).when("/activity/create", {
            templateUrl: "pages/activity_create_page.html",
            controller: ActivityCreateController
        }).when("/sign_ups/list/:activity_name", {
            templateUrl: "pages/apply_page.html",
            controller: SignUpListController
        }).otherwise({
            redirectTo: "/"
        });
});
**/

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jt-mobile-kit-1.0.3 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.0.2 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.0.1 lib/jt-mobile-kit/www_rb/templates/js/routes.js
jt-mobile-kit-1.0.0 lib/jt-mobile-kit/www_rb/templates/js/routes.js