Skip to content

Commit 9455b54

Browse files
authored
Merge pull request #1555 from Nexmo/APIDOC-334_client_SDK_release_notes
APIDOC-334: Link changelog to SDK release notes
2 parents 8c26fdd + cb97d34 commit 9455b54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/nexmo_developer/app/views/changelogs/index.html.erb

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
<div class="my-3col-grid">
99
<% title[:files].each do |file| %>
10-
<%= link_to changelog_path(folder: title[:title], name: file[:file_title]), class: 'Vlt-card Vlt-card--clickable' do%>
10+
<% validate_link = file[:frontmatter]['redirect_to'].present? ? file[:frontmatter]['redirect_to'] : changelog_path(folder: title[:title], name: file[:file_title]) %>
11+
<%= link_to validate_link, class: 'Vlt-card Vlt-card--clickable' do%>
1112

1213
<div class="Vlt-card__header">
1314

0 commit comments

Comments
 (0)