We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56bf59d commit 0c2c7f7Copy full SHA for 0c2c7f7
app/views/stories/index.html.erb
@@ -68,7 +68,8 @@
68
</td>
69
<td class="px-4 py-2 text-sm text-gray-500"><%= story.updated_at.strftime("%b %d, %Y") %></td>
70
<td class="px-4 py-2 text-sm text-gray-500">
71
- <%= link_to "View", story_path(story),
+ <%= link_to "View",
72
+ story_path(story, no_redirect: true),
73
target: story.external_link? ? "_blank" : "", rel: "noopener noreferrer",
74
class: "btn btn-secondary-outline" %>
75
<% if current_user.super_user? %>
0 commit comments