Skip to content

Commit 1fd0c40

Browse files
Elle Meredithelle
authored andcommitted
Switch from provide to content_for
since we are not using or calling streaming anywhere in the app Ref: https://api.rubyonrails.org/classes/ActionController/Streaming.html
1 parent b97f230 commit 1fd0c40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/views/pages/show.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<% provide :page_title, @page.title %>
2-
<% provide :page_description, @page.description %>
1+
<% content_for :page_title, @page.title %>
2+
<% content_for :page_description, @page.description %>
33

44
<%= @page.body %>

0 commit comments

Comments
 (0)