Fix home page link

This commit is contained in:
Artur Beljajev 2018-08-22 00:21:12 +03:00
parent a2a67159d4
commit 211f8c9143
10 changed files with 31 additions and 30 deletions

View file

@ -24,7 +24,8 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<%= link_to registrar_root_path, class: 'navbar-brand' do %>
<%= link_to can?(:show, :poll) ? registrar_root_path : registrar_profile_path,
class: 'navbar-brand' do %>
<%= t(:registrar_head_title) %>
<% if unstable_env.present? %>
<div class="text-center">