forked from External/greenlight
redirect to user when clicking logo if found
This commit is contained in:
parent
291d815056
commit
b9ace4dfa6
|
@ -66,7 +66,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||
<!-- Header -->
|
||||
<div class='header'>
|
||||
<span class="logo-wrapper pull-left">
|
||||
<% if current_user %>
|
||||
<%= link_to image_tag("bbb-logo.png", :alt => "BigBlueButton", :class => "logo"), meeting_room_path('rooms', User.find(current_user).encrypted_id) %>
|
||||
<% else %>
|
||||
<%= link_to image_tag("bbb-logo.png", :alt => "BigBlueButton", :class => "logo"), root_path %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
<!-- End of Header -->
|
||||
|
|
Loading…
Reference in New Issue