'use strict';

var productCatSubCat = require('../../app/controllers/ProductCatSubCatControllers');

module.exports = function (app) {
    // User Profile Routes
    // app.route('/productcat/:profileId')
    // .get(productCatSubCat.show)
    // .put(productCatSubCat.updateProfile, productCatSubCat.updateAddress);

    app.route('/productcat')
    .get(productCatSubCat.getProductCat);

    app.route('/productcat/:productcatid')
    .get(productCatSubCat.show);

    app.route('/productcat/productsubcat')
    .get(productCatSubCat.getSubProductCat)

    app.route('/productcat/productsubcat/:productsubcatbyid')
    .get(productCatSubCat.show)

    app.param('productcatid', productCatSubCat.getProdCatById);
    app.param('productsubcatbyid', productCatSubCat.getProductSubCatByProdCatId);
};
@@ -132,191 +132,8 @@
 ) %7B%0A
-    // User Profile Routes%0A    // app.route('/productcat/:profileId')%0A    // .get(productCatSubCat.show)%0A    // .put(productCatSubCat.updateProfile, productCatSubCat.updateAddress);%0A%0A
     

remove command