Change Topic List home router - from Latest to Following

Hi Robert! I have changed both files from PR you mentioned.

Didn’t workout, I thought with these changes would be possible to choose “Top menu” site settings. So If “latest” is required I would put “following” - “latest” in sequence, this way home would be redirected to “following”.

I found a way during development from

import { setDefaultHomepage } from 'discourse/lib/utilities';

So, in my component, in the beginning I have put

setDefaultHomepage("following");

Because in Rails Console, I have found a variable SiteSetting.homepage which was “latest”.
And worked :smiley:!

Do you see any problems ?

I’m afraid of loading latest from backend and initializer to be loaded in client-side.

Best Regards,
Felipe