Merge pull request #2439 from sebgie/move-slug

Rename getSlug to slug
This commit is contained in:
Hannah Wolfe 2014-03-28 17:12:55 +00:00
commit 878e31f56c

View File

@ -76,7 +76,7 @@
// and then update the placeholder value.
if (title) {
$.ajax({
url: Ghost.paths.apiRoot + '/posts/getSlug/' + encodeURIComponent(title) + '/',
url: Ghost.paths.apiRoot + '/posts/slug/' + encodeURIComponent(title) + '/',
success: function (result) {
$postSettingSlugEl.attr('placeholder', result);
}