Commit fdadf9b7 by Ngô Trung Hưng

fix background img

parent c4fb9a12
Pipeline #854 failed with stages
in 0 seconds
...@@ -1098,7 +1098,7 @@ $main-color: #23303D; ...@@ -1098,7 +1098,7 @@ $main-color: #23303D;
.banner_detail { .banner_detail {
width: 100%; width: 100%;
height: 300px; height: 300px;
background-image: url('11.jpg'); background-image:asset-url('11.jpg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
} }
......
...@@ -3,9 +3,6 @@ Rails.application.configure do ...@@ -3,9 +3,6 @@ Rails.application.configure do
# Code is not reloaded between requests. # Code is not reloaded between requests.
config.cache_classes = true config.cache_classes = true
config.serve_static_assets = true
config.assets.compile = true
config.autoload_paths << Rails.root.join('assets/images')
# Eager load code on boot. This eager loads most of Rails and # Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web servers # your application in memory, allowing both threaded web servers
# and those relying on copy on write to perform better. # and those relying on copy on write to perform better.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment