Skip to content

Commit 8ff3bd8

Browse files
committed
added proper page title for editing a pinned link
1 parent ccadd79 commit 8ff3bd8

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

app/views/pinned_links/edit.html.erb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
<h1>Edit featured link</h1>
1+
<%
2+
title = 'Edit featured link'
3+
%>
4+
5+
<% content_for :title, title %>
6+
7+
<h1><%= title %></h1>
28

39
<% if @link.errors.any? %>
410
<div class="notice is-danger">

0 commit comments

Comments
 (0)