lib/ecrire/theme/template/views/layouts/application.html.erb in ecrire-0.29.0 vs lib/ecrire/theme/template/views/layouts/application.html.erb in ecrire-0.30.0
- old
+ new
@@ -16,20 +16,20 @@
<%= rss_tag %>
</head>
<body>
<%= main_tag do %>
-
- <%= admin_navigation %>
<header>
<nav>
<%= link_to 'E', '/', class: %w(logo) %>
<ol>
<li><%= link_to 'Get started', '/customize' %></li>
- <% if !signed_in? %>
+ <% if signed_in? %>
+ <%= content_tag :li, link_to('Manage your posts', admin_root_path) %>
+ <% else %>
<li><%= link_to 'Log in', new_session_path %></li>
<% end %>
</ol>
</nav>