Closed sandreae closed 4 years ago
Thanks for the detailed comments!! I'm really learning a lot ;-p Had a go at implementing it all here https://github.com/adzialocha/hoffnung3000/pull/82/commits/98d06c9f63cfdae2986ffb7b2fc50c26749756b9
I had to make one additional change which was to add middleware that just gets and sets the user value on the routes which are accessible when the festival is free.
Had a go at refactoring the router to include middleware for the /events and places /route. @adzialocha is this what you were suggesting? https://github.com/adzialocha/hoffnung3000/pull/82/commits/8f0f6b9ae1abc22c2cc9a0cc18ab9f4fc6d6615d