fix some assets not loading with relative root URLs

This commit is contained in:
Zachary Chai 2017-02-07 15:54:26 -05:00
parent adb0314701
commit 9ecbd7f29d
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,6 @@ html, body {
.background {
height: 350px;
width: 100%;
background: asset-url('greenlight_background');
background-position: center;
background-size: cover;
background-repeat: no-repeat;

View File

@ -26,7 +26,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet">
</head>
<body class="app-background" data-controller="<%= params[:controller] %>" data-action="<%= params[:action] %>" data-resource="<%= params[:resource] %>">
<body class="app-background" data-controller="<%= params[:controller] %>" data-action="<%= params[:action] %>" data-resource="<%= params[:resource] %>"
style="background:url(<%= image_path('greenlight_background.png') if params[:controller] == 'landing' %>);">
<!-- Messages -->
<div id='alerts'>
</div>