Skip to content

Commit 780dde5

Browse files
committed
Fix incorrect id for articles in link from right hand panel of profile
1 parent 8b62914 commit 780dde5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/users/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@
275275
<tr>
276276
<td colspan="2">
277277
<% if current_user&.id == @user.id %>
278-
<%= link_to search_path(search: "user:#{@user.id} post_type:3"), 'aria-label': 'View your articles' do %>
278+
<%= link_to search_path(search: "user:#{@user.id} post_type:5"), 'aria-label': 'View your articles' do %>
279279
Articles
280280
<% end %>
281281
<% else %>
282-
<%= link_to search_path(search: "user:#{@user.id} post_type:3"), 'aria-label': "View articles from #{rtl_safe_username(@user)}" do %>
282+
<%= link_to search_path(search: "user:#{@user.id} post_type:5"), 'aria-label': "View articles from #{rtl_safe_username(@user)}" do %>
283283
Articles
284284
<% end %>
285285
<% end %>

0 commit comments

Comments
 (0)