Skip to content

Commit ae42205

Browse files
committed
Add turbo data action advance for syntax highlight frame
This will allow the page url to update when the frame src updates
1 parent e64deae commit ae42205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/settings/syntax_highlights/show_view.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def view_template
1010
render Pages::Header.new(title: "Settings: Syntax Highlight")
1111

1212
section(class: %(secton-content container py-gap)) do
13-
turbo_frame_tag "syntax-highlight-form" do
13+
turbo_frame_tag "syntax-highlight-form", data: {turbo_action: "advance"} do
1414
render Settings::SyntaxHighlights::Form.new(
1515
current_highlight: @current_highlight,
1616
available_highlights: @available_highlights

0 commit comments

Comments
 (0)