diff options
author | Mark Longair <mhl@pobox.com> | 2013-11-20 12:25:55 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-20 12:25:55 +0000 |
commit | 0d2a72017779ba0cd7c7d40e0fa32713129333c5 (patch) | |
tree | b8effcec64bda8caa329c1408677d8aa947eba4e | |
parent | f688eef1f47a2e4d2851022a7d4a70ba38beba99 (diff) |
Move images out of /public and into the asset pipeline
An oddity here is that I had to rename logo.png to
alaveteli-logo.png, or the version from the alaveteli
repository was used after precompiling the assets.
(This suggests that generation of precompiled assets
with "rake assets:precompile" is picking the wrong
version; i.e. not going through the asset path in
reverse order.)
-rw-r--r-- | assets/images/alaveteli-logo.png (renamed from public/images/logo.png) | bin | 1606 -> 1606 bytes | |||
-rw-r--r-- | assets/images/home-grad.png (renamed from public/images/home-grad.png) | bin | 306 -> 306 bytes | |||
-rw-r--r-- | assets/images/quote-marks.png (renamed from public/images/quote-marks.png) | bin | 470 -> 470 bytes | |||
-rw-r--r-- | lib/views/general/_orglink.html.erb | 2 |
4 files changed, 1 insertions, 1 deletions
diff --git a/public/images/logo.png b/assets/images/alaveteli-logo.png Binary files differindex 8b88458..8b88458 100644 --- a/public/images/logo.png +++ b/assets/images/alaveteli-logo.png diff --git a/public/images/home-grad.png b/assets/images/home-grad.png Binary files differindex ff9887a..ff9887a 100644 --- a/public/images/home-grad.png +++ b/assets/images/home-grad.png diff --git a/public/images/quote-marks.png b/assets/images/quote-marks.png Binary files differindex 752b7d4..752b7d4 100644 --- a/public/images/quote-marks.png +++ b/assets/images/quote-marks.png diff --git a/lib/views/general/_orglink.html.erb b/lib/views/general/_orglink.html.erb index 9535a79..6a83ffb 100644 --- a/lib/views/general/_orglink.html.erb +++ b/lib/views/general/_orglink.html.erb @@ -1 +1 @@ -<%= link_to image_tag('/alavetelitheme/images/logo.png'), frontpage_url, :id=>'logo' %> +<%= link_to image_tag('alaveteli-logo.png'), frontpage_url, :id=>'logo' %> |