mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FIX: post short link on subfolder installs
This commit is contained in:
@ -128,7 +128,7 @@ class PostsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
guardian.ensure_can_see!(post)
|
guardian.ensure_can_see!(post)
|
||||||
redirect_to post.url
|
redirect_to path(post.url)
|
||||||
end
|
end
|
||||||
|
|
||||||
def create
|
def create
|
||||||
|
Reference in New Issue
Block a user