0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Merge pull request #5301 from ErisDS/issue-5288

Use absolute frontend URL in admin
This commit is contained in:
Jason Williams 2015-05-20 16:27:31 -05:00
commit 7e89413037
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<nav class="global-nav" role="navigation">
<a class="nav-item ghost-logo" href="{{gh-path 'blog'}}" title="Visit blog">
<a class="nav-item ghost-logo" href="{{config.blogUrl}}/" title="Visit blog">
<div class="nav-label"><i class="icon-ghost"></i> <span>Visit blog</span> </div>
</a>

View file

@ -17,7 +17,7 @@ CasperTest.begin('Admin navigation bar is correct', 45, function suite(test) {
// Logo
test.assertExists('.ghost-logo', 'Ghost logo home page link exists');
test.assertEquals(logoHref, '/', 'Ghost logo link href is correct');
test.assertEquals(logoHref, 'http://127.0.0.1:2369/', 'Ghost logo link href is correct');
// Content
test.assertExists('.nav-content', 'Content nav item exists');