noesya/osuny

View on GitHub
app/views/application/_logo.html.erb

Summary

Maintainability
Test Coverage
<% if current_university.logo.attached? %>
  <%= kamifusen_tag current_university.logo, 
                    width: 200, 
                    alt: current_university.to_s, 
                    class: 'logo' %>
<% else %>
  <%= current_university %>
<% end %>