Skip to content

Commit 594eba3

Browse files
committed
fixed dummy app
1 parent 6453148 commit 594eba3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

spec/dummy/app/matestack/pages/my_app/my_fourth_page.rb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,10 @@ def my_form_config
4545
method: :post,
4646
path: :form_action_path,
4747
success: {
48-
# emit: "form_succeeded"
49-
transition: {
50-
follow_response: true
51-
}
48+
emit: "form_succeeded"
5249
},
5350
failure: {
54-
emit: "form_has_errors",
55-
transition: {
56-
path: :my_second_page_path
57-
}
51+
emit: "form_has_errors"
5852
}
5953
}
6054
end

0 commit comments

Comments
 (0)