FIX: post short link on subfolder installs

This commit is contained in:
Neil Lalonde 2016-11-01 15:20:04 -04:00
parent 9ef1688a76
commit 29edbafac7
1 changed files with 1 additions and 1 deletions

View File

@ -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