Permalink
Browse files

a href korrigiert

  • Loading branch information...
1 parent d41f506 commit fb48ded390d3ff43a32b5e6de94b1c736fe84b4b @thebluber thebluber committed May 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 views/show_all.erb
View
@@ -1,6 +1,6 @@
<ol>
<%@keywords.each do |key|%>
- <li><span class="reading"><%= key.reading %></span><span class="keyword"><%= key.keyword %></span> <a href="localhost:4567/definition/<%= key.definition.id %>"><span class="defintion"><%= key.definition.definition %></span></a></li>
+ <li><span class="reading"><%= key.reading %></span><span class="keyword"><%= key.keyword %></span> <a href="<%= url "/definition/#{key.definition.id}" %>"><span class="defintion"><%= key.definition.definition %></span></a></li>
<li class="translation"><%= key.definition.translation %></li>
<% end %>
</ol>

0 comments on commit fb48ded

Please sign in to comment.