https://avo.cool logo
Avo - Ruby on Rails Admin Panel Framewor...
# general
m
another question, this time regarding the multitenancy guide: I've got most of it done, just where/how would I integrate the account switcher partial best? i.e. https://docs.avohq.io/3.0/multitenancy.html#_2-add-an-account-switcher
l
depending on where you see it fit best, you can add a partial in the
header
or
sidebar_extra
partials
or... or...

https://tenor.com/bA2Su.gif▾

m
I would have loved to add it in the bottom left ...
l
we make that switcher a first-class citizen
and PR it
another place could be in the profile menu... we don't ahve
select
support there, but they could be links
l
yeah... send in a PR!
m
right 😅
in the guide they are links anyway...
awesome, I wasn't aware of that!
probably if you've got many teams a select would be best, maybe I'll take a look at that and PR is
side note: you thought of everything! really 👏
okay, final question, and sorry for not being able to bring up the docs for it... how do I actually register the route for the
switch_accounts_controller
?
do I need to make it a resource?
probably I'll just route it myself
l
nope, there's a way
something like this...
m
ah! gotcha
works like a charm, thanks!