<% end %>
<ul>
<% if obj.visible %>
-<li><%= link_to h("API"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id %></li>
+<li><%= link_to h("API"), :controller => type, :action => "read", :id => obj.id %></li>
<% end %>
-<li><%= link_to h("History"), :controller => "api/#{API_VERSION}/"+type, :id => obj.id, :action => "history" %></li>
+<li><%= link_to h("History"), :controller => "old_" + type, :action => "history", :id => obj.id %></li>
</ul>
<%= render :partial => 'common_editedby', :locals => { :obj => obj } %>
<tr>
- <td><%= link_to member.member_id.to_s, :controller => member.member_type, :id => member.member_id %></td>
+ <td><%= link_to member.member_id.to_s, :action => member.member_type+'_view', :id => member.member_id %></td>
<td><%= h(member.member_type) %></td>
<td><%= h(member.member_role) %></td>
</tr>