# Add additional button post menu

**URL:** <https://meta.discourse.org/t/add-additional-button-post-menu/149439>\
**Category:** Development\
**Created:** [April 27, 2020, 11:27am UTC](https://meta.discourse.org/t/add-additional-button-post-menu/149439 "2020-04-27T11:27:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![zcuric](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zcuric/32/292837_2.png) [@zcuric](https://meta.discourse.org/u/zcuric)\
**Post date:** [April 28, 2020, 3:08pm UTC](https://meta.discourse.org/t/add-additional-button-post-menu/149439/4 "2020-04-28T15:08:29Z")

</div>

@marek You are welcome. You’ll have read the code a bit, starting from here:

[https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/widgets/post-menu.js#L122](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/app/widgets/post-menu.js#L122)

Regarding backend it is API request 99%. I didn’t go much into it. Probably an endpoint. My guess is when building a plugin you’ll have to do a **REST API routes with GET, POST, DELETE endpoints** that will fill the data your field in database which you added by **database migration** and that will be done with Rails. At least that’s how I would approach the situation.

---

_[View the full topic](https://meta.discourse.org/t/add-additional-button-post-menu/149439)._
