We've moved discussions to Discord

switch_account_path

Bal Jassal
Hi, I'm using accounts to house one of something.  For example, an account houses one Venue.  In the navbar dropdown I want to be able to click the venue name and not only switch accounts (which it currently does) but also redirect to corresponding venue show page.  How can I change the current routing to do this? I already have the venue id in the accounts model.
Chris Oliver
Just update the switch method on the AccountsController to do what you need. 👍
Notifications
You’re not receiving notifications from this thread.