# Understanding Solved Plugin

**URL:** https://meta.discourse.org/t/understanding-solved-plugin/80706
**Category:** Development
**Created:** [February 16, 2018, 1:20am UTC](https://meta.discourse.org/t/understanding-solved-plugin/80706 "2018-02-16T01:20:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Bolarinwa\_Balogun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bolarinwa_balogun/32/138753_2.png) [@Bolarinwa\_Balogun](https://meta.discourse.org/u/Bolarinwa_Balogun)
#### Post date: [February 16, 2018, 1:20am UTC](https://meta.discourse.org/t/understanding-solved-plugin/80706/1 "2018-02-16T01:20:35Z")

</div>

Hi,  
I am trying to understand the solved plugin to get a better idea of creating plugins. I had a few questions about code snippets from the solved plugin.

[https://github.com/discourse/discourse-solved/blob/master/assets/javascripts/discourse/solved-route-map.js.es6](https://github.com/discourse/discourse-solved/blob/master/assets/javascripts/discourse/solved-route-map.js.es6)

In the tutorial for developing plugins, there was a path field, why isn’t there one in the solved route-map?

In the plugin.rb file, I couldn’t find the solved plugin version of

```ruby
add_admin_route 'purple_tentacle.title', 'purple-tentacle'

```

How does the solved plugin, achieve the solved interface in the user activity? How are the notifications linked to this interface?

Thank you

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [February 20, 2018, 2:33pm UTC](https://meta.discourse.org/t/understanding-solved-plugin/80706/2 "2018-02-20T14:33:02Z")

</div>

> <https://github.com/discourse/discourse/blob/main/config/routes.rb#L397>

As per the above code a common filter path is already available in Discourse core. So we don’t need to add the solved activity filter `u/:username/activity/solved` again in plugin code.
