OSDN Git Service

temp
[pettanr/pettanr.git] / app / views / home / index.html.erb
index 2c6dd4e..3fc48ad 100644 (file)
@@ -1,5 +1,5 @@
 <h1><%= t '.title' -%></h1>
-<h2><%= link_to h(@author.name), main_app.author_path(@author) -%></h2>
+<h2><%= link_to h(@operators.author.name), main_app.author_path(@operators.author) -%></h2>
 <h3><%= t('.updated_scroll') -%></h3>
 <table>
   <tr height="100px">
@@ -58,8 +58,8 @@
     </td>
   </tr>
 </table>
-<% if @author.artist? -%>
-  <h2><%= link_to h(@artist.name), main_app.artist_path(@artist) -%></h2>
+<% if @operators.artist -%>
+  <h2><%= link_to h(@operators.artist.name), main_app.artist_path(@operators.artist) -%></h2>
   <h3><%= t('.updated_picture') -%></h3>
   <table>
     <tr height="100px">