[refactor] Move Mailbot#logo_url and #conference_color to ConferenceHelper

This commit is contained in:
Jimmy 2021-03-12 00:14:29 -08:00
parent 33ce7a61c6
commit fdb08b0c9a
6 changed files with 52 additions and 66 deletions

View file

@ -7,11 +7,6 @@
<%= stylesheet_link_tag "mailbot" %>
</head>
<body>
<% if @conference.present? && @conference.color.present? %>
<div id="border" style="background-color: <%= @conference.color %>">
<% else %>
<div id="border">
<% end %>
</div>
<div id="border" style="background-color: <%= conference_color(@conference) %>"></div>
</body>
</html>