# Staff action logs 'Show' 链接重新加载页面

**URL:** <https://meta.discourse.org/t/staff-action-logs-show-link-reload-the-page/241573>\
**Category:** Bug\
**Created:** [2022年十月11日 10:41 UTC](https://meta.discourse.org/t/staff-action-logs-show-link-reload-the-page/241573 "2022-10-11T10:41:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [2022年十月11日 10:41 UTC](https://meta.discourse.org/t/staff-action-logs-show-link-reload-the-page/241573/1 "2022-10-11T10:41:53Z")

</div>

您好，

我在 `admin/logs/staff_action_logs` 页面上注意到，当我点击“显示”链接时，它会重新加载页面而不是打开模态框。

此提交可能与之相关：[https://github.com/discourse/discourse/commit/03b7b7d1bc7c978c280e441a610a5ef5c049c60c，因为我看到](https://github.com/discourse/discourse/commit/03b7b7d1bc7c978c280e441a610a5ef5c049c60c%EF%BC%8C%E5%9B%A0%E4%B8%BA%E6%88%91%E7%9C%8B%E5%88%B0) `staff action logs` 区域有一些更改。

谢谢 🙂

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2022年十月11日 11:09 UTC](https://meta.discourse.org/t/staff-action-logs-show-link-reload-the-page/241573/4 "2022-10-11T11:09:40Z")

</div>

感谢 @Don - 此 PR 将修复此问题：

> <https://github.com/discourse/discourse/pull/18542>
>
> Followup to 03b7b7d1bc7c978c280e441a610a5ef5c049c60c
> 
> The template was inadver…tently updated to assume the actions were in the controller rather than the route. The controller is probably a better place for them anyway, so this commit moves them there.

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2022年十月12日 07:00 UTC](https://meta.discourse.org/t/staff-action-logs-show-link-reload-the-page/241573/5 "2022-10-12T07:00:51Z")

</div>

此主题已在 19 小时后自动关闭。不再允许回复。
