How To Use Current User In Turbo (Without Crying) | Ruby On Rails 7

Описание к видео How To Use Current User In Turbo (Without Crying) | Ruby On Rails 7

Okay, so we'll still probably cry a bit, but at least this works! This should allow you to use turbo and still have user/admin specific delete and edit buttons that aren't visible to everyone.
Checkout my course(s) at: https://learn.deanin.com

Source: https://github.com/Deanout/turbo/tree...

Join this channel to help support these videos:
   / @deanin  

Follow me on social media:
https://linktr.ee/deanin

If you liked this video, please consider subscribing: https://t.co/RZ4EwP0F2a

Timestamps
0:00 Demo And Message Room Setup
12:43 Turbo Broadcasting To All Users
15:41 Admin Functionality With Turbo
23:33 Admin Delete Button With Turbo
24:39 Adding Delete Button for Message Authors Only

#Deanin #Software #Programming

Комментарии

Информация по комментариям в разработке