# Wijziging Topic List home router - van Laatste naar Volgend

**URL:** https://meta.discourse.org/t/change-topic-list-home-router-from-latest-to-following/169828
**Category:** Development
**Created:** [11 november 2020 om 14:06 UTC](https://meta.discourse.org/t/change-topic-list-home-router-from-latest-to-following/169828 "2020-11-11T14:06:32Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [11 november 2020 om 22:11 UTC](https://meta.discourse.org/t/change-topic-list-home-router-from-latest-to-following/169828/6 "2020-11-11T22:11:57Z")

</div>

> [@feabila](#):
>
> In **plugin.rb** , as you said I was capable by putting “following” as the only option:

Haha, well that’s one way of doing it, but really you should append it as an option, and always give the user the option to change it … at least if you want this to be merged into the plugin 😉

But yeah, good stuff, keep evolving it.

btw, also take a look at:

> [@Override existing Discourse methods in plugins](https://meta.discourse.org/t/tips-for-overriding-existing-discourse-methods-in-plugins/83389):
>
> I’ve been running into a bunch of instances recently of needing to override existing ruby methods from plugins, and thought I’d share my best practices here. Overriding an instance method class ::TopicQuery module BabbleDefaultResults def default\_results(options={}) super(options).where('archetype \<\> ?', Archetype.chat) end end prepend BabbleDefaultResults end Here I’m removing chat topics from an instance method which is returning a list of topics. The module name BabbleD…

---

_[View the full topic](https://meta.discourse.org/t/change-topic-list-home-router-from-latest-to-following/169828)._
