diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 5ae8e6e..088413a 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -13,11 +13,13 @@ <%= link_to About => 'about_page' %> <%= link_to Rules => 'rules_page' %> <%= link_to RSS => threads_feed => {format => 'rss'} %> - <% unless (is_mod) { =%> + <% if (is_mod) { =%> + <%= link_to Logout => 'mod_logout' %> + <% } else { =%> <%= link_to Login => 'mod_login' %> + <% } =%> - <% } =%> <% if (is_mod) { =%>