OSDN Git Service

t#30328:pull porting
[pettanr/pettanr.git] / app / views / artists / browse.html.erb
index 370b278..17c920e 100644 (file)
@@ -13,7 +13,9 @@
 
 <p>
   <b><%= t_m 'Artist.author_id' -%>:</b>
-  <%= link_to h(@ar.author.name), @ar.author %>
+  <% if @ar.author_id %>
+    <%= link_to @ar.author_id, browse_author_path(@ar.author) %>
+  <% end %>
 </p>
 
 <p>