diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-03-16 16:21:20 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-16 16:21:20 +0100 |
commit | 0fbe90e2d3cfc2c5d1fd12ea564daa52a83ec0ac (patch) | |
tree | 97325ab7ad5a572170637da7a72ba72b7231a02f /app/views/settings | |
parent | 47c8707f01d51e292f5009cd1027cbdf10961a0d (diff) |
Fix settings/flavours
Update theming system to use new paths for media files
Diffstat (limited to 'app/views/settings')
-rw-r--r-- | app/views/settings/flavours/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/settings/flavours/show.html.haml b/app/views/settings/flavours/show.html.haml index a5126d9c5..c3f785aa0 100644 --- a/app/views/settings/flavours/show.html.haml +++ b/app/views/settings/flavours/show.html.haml @@ -5,7 +5,7 @@ = render 'shared/error_messages', object: current_user - Themes.instance.flavour(@selected)['screenshot'].each do |screen| - %img.flavour-screen{ src: asset_pack_path(screen) } + %img.flavour-screen{ src: full_pack_url("media/#{screen}") } .flavour-description = t "flavours.#{@selected}.description", default: '' |