Ghost/ghost/admin/templates/application.hbs
Jacob Gable 8787ec5ba4 Improve signin
Ref #2413

- Remove fixture and use actual API
- Store and send down actual logged in user data
- Refactor isLoggedIn to use computed property on application
- After signin, update user data in dependency container
- Add CSRF to all routes and controllers via initializer
- Update authenticated route to check for user.isLoggedIn
- Add notifications for signin error
- Add notifications.showAPIError helper
- Add plumbing for refreshless signup to doSignUp in admin controller
2014-05-15 09:18:43 -05:00

10 lines
154 B
Handlebars

{{#if isSignedIn}}
{{partial "navbar"}}
{{/if}}
<main role="main" id="main">
{{ghost-notifications}}
{{outlet}}
</main>
{{outlet modal}}