Kechieanyanwu / kitchenApp

Improving how I manage my kitchen inventory
0 stars 1 forks source link

Export validateModelName to router files #64

Closed Kechieanyanwu closed 10 months ago

Kechieanyanwu commented 11 months ago

Use it there as middleware, since I call it in every controller function

Kechieanyanwu commented 11 months ago

Actually, might take this function out as the modelName is inserted on the server side, not on the client side

Kechieanyanwu commented 10 months ago

Decided to take this function out but saved it in a general utilities file for the future.