# Permalink.create(url: /my/path, post\_id: 123) больше не работает

**URL:** https://meta.discourse.org/t/permalink-create-url-my-path-post-id-123-no-longer-works/337524
**Category:** Bug
**Tags:** development, fixed
**Created:** [21.Ноябрь.2024 15:30:10 UTC](https://meta.discourse.org/t/permalink-create-url-my-path-post-id-123-no-longer-works/337524 "2024-11-21T15:30:10Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [22.Ноябрь.2024 16:48:07 UTC](https://meta.discourse.org/t/permalink-create-url-my-path-post-id-123-no-longer-works/337524/4 "2024-11-22T16:48:07Z")

</div>

Я создал PR с возможным решением:

> <https://github.com/discourse/discourse/pull/29895>
>
> This moves the logic of setting the correct permalink values back into the contr…oller. And it replaces the validation with a simpler one, that always works, even when the model is loaded from the DB.
> 
> Follow-up to https://github.com/discourse/discourse/pull/29634 which broke import scripts and lots of documentation on Meta.

---

_[View the full topic](https://meta.discourse.org/t/permalink-create-url-my-path-post-id-123-no-longer-works/337524)._
