Fix bug.
This commit is contained in:
parent
4e3898a5d2
commit
2e1f9e3558
|
@ -19,7 +19,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<% if @faq_page_url != '#'%>
|
<% if @faq_page_url != '#'%>
|
||||||
<a href='<%="/#{I18n.locale}#{@faq_page_url}/#{qa.title[0..6]}-#{qa.uid}"%>' target="_blank"><%= qa.title %></a>
|
<a href='<%="/#{I18n.locale}#{@faq_page_url}/#{qa.title.to_s[0..6]}-#{qa.uid}"%>' target="_blank"><%= qa.title %></a>
|
||||||
<% else %>
|
<% else %>
|
||||||
<a href="#"><%= qa.title %></a>
|
<a href="#"><%= qa.title %></a>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue