1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Fix asset urls.

This commit is contained in:
Dan Barber 2014-03-07 14:27:46 +00:00
parent 87ddf78cae
commit 694f791f93
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<div class="sgParent sg-12">
<header class="sg-11">
<%= link_to image_tag('/assets/title.svg', :alt => 'Dan Barber Photography', :width => 236), '/' %>
<%= link_to image_tag(asset_url('title.svg'), :alt => 'Dan Barber Photography', :width => 236), '/' %>
</header>
<%= yield :navigation %>

View File

@ -12,7 +12,7 @@
</div>
</div>
<div class="sg-11" style="background: url(/assets/me.jpg);">
<div class="sg-11" style="background: url(<%= asset_url('me.jpg') %>);">
</div>
<div class="sg-5" style="background: #222;">