Skip to content

Commit 37f2cba

Browse files
authored
Update README.md
1 parent 8fbde4b commit 37f2cba

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docs/reactive_apps/500-devise/README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,18 @@ class Profile::Pages::Sessions::SignIn < Matestack::Ui::Page
8888
private
8989

9090
def form_config
91-
for: :user,
92-
method: :post,
93-
path: user_session_path,
94-
success: {
95-
transition: {
96-
follow_response: true
91+
{
92+
for: :user,
93+
method: :post,
94+
path: user_session_path,
95+
success: {
96+
transition: {
97+
follow_response: true
98+
}
99+
},
100+
failure: {
101+
emit: 'sign_in_failure'
97102
}
98-
},
99-
failure: {
100-
emit: 'sign_in_failure'
101103
}
102104
end
103105

0 commit comments

Comments
 (0)