From f0f0171a59c7d6634867777df887feda7d1a0562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= Date: Mon, 9 Jul 2012 18:06:32 +0200 Subject: [PATCH] Show the register link everywhere it's needed #979 Contributed by Harald Klimach --- app/views/layouts/base.rhtml | 6 +++--- test/integration/account_test.rb | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 0618be52..c9db5c23 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -39,8 +39,8 @@ <%= render :partial => 'search/quick_search', :locals => {:search_term => @question} %> - <% if User.current.logged? || !Setting.login_required? %> <% end %> - <%= render_menu_node(help_menu_item) %> + <%= render_menu_node(help_menu_item) %> + <% end %> <% unless User.current.logged? %> <% if Setting.self_registration? %>
  • @@ -99,7 +100,6 @@
  • <% end %> - <% end %>