This question has been flagged

I have struggle figuring out whats the best approach to write a controller that only affects the second website and not the first one. 

I want the second website to be only for logged in users so in case they not logged in it should always redirect to the login page.


Edit: Solved

Avatar
Discard