This commit is contained in:
BoHung Chiu 2021-06-11 12:17:49 +08:00
parent 4e3898a5d2
commit 2e1f9e3558
1 changed files with 1 additions and 1 deletions

View File

@ -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 %>