fac-13 / PaGiToNi

https://pagitoni-news.herokuapp.com/
1 stars 2 forks source link

tiny issue about importing functions #56

Open eadehemingway opened 6 years ago

eadehemingway commented 6 years ago

in your router you can import the specific functions then you dont have to do handler.staticFunction, you can just do staticFunction. think its a good habbit to get into. also the staticFunction and the homeFunction can be made into one function to reduce code 🥝