OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix view
[pettanr/pettanr.git]
/
app
/
views
/
original_pictures
/
_exist.html.erb
diff --git
a/app/views/original_pictures/_exist.html.erb
b/app/views/original_pictures/_exist.html.erb
index
4a89259
..
66df334
100644
(file)
--- a/
app/views/original_pictures/_exist.html.erb
+++ b/
app/views/original_pictures/_exist.html.erb
@@
-25,7
+25,9
@@
</td>
<% end %>
<td>
- <%= link_to h(picture.artist.name), picture.artist %>
+ <% if picture.artist %>
+ <%= link_to h(picture.artist.name), picture.artist %>
+ <% end %>
</td>
<td>
<% if picture.enable? %>