Commit 071d02ed

mo khan <mo@mokhan.ca>
2014-05-19 01:57:50
add root to dir.
1 parent 4616308
Changed files (1)
app
views
admin
app/views/admin/photos/index.html.erb
@@ -20,7 +20,7 @@
             <td><%= link_to photo.creation.name, creation_path(photo.creation) %></td>
             <td><%= photo.created_at %></td>
             <td><%= photo.updated_at %></td>
-            <td><%= photo.image.cache_dir %>/<%= photo.image_tmp %></td>
+            <td><%= photo.image.root %>/<%= photo.image.cache_dir %>/<%= photo.image_tmp %></td>
             <td><%= photo.image_processing %></td>
           </tr>
         <% end %>