FIX: post short link on subfolder installs
This commit is contained in:
parent
9ef1688a76
commit
29edbafac7
|
@ -128,7 +128,7 @@ class PostsController < ApplicationController
|
|||
end
|
||||
|
||||
guardian.ensure_can_see!(post)
|
||||
redirect_to post.url
|
||||
redirect_to path(post.url)
|
||||
end
|
||||
|
||||
def create
|
||||
|
|
Loading…
Reference in New Issue