Skip to content

Commit 9c2f305

Browse files
authored
Update README.md
1 parent 37f2cba commit 9c2f305

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reactive_apps/500-devise/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ class Profile::Pages::Sessions::SignIn < Matestack::Ui::Page
8080
button text: 'Sign in'
8181
end
8282
end
83-
toggl show_on: 'sign_in_failure' do
84-
'Your email or password is not valid.'
83+
toggle show_on: 'sign_in_failure' do
84+
plain 'Your email or password is not valid.'
8585
end
8686
end
8787

@@ -129,7 +129,7 @@ Override the `new` action in order to render our sign in page and set the correc
129129
`app/controllers/users/sessions_controller.rb`
130130

131131
```ruby
132-
class Users::SessionController < Devise::SessionController
132+
class Users::SessionsController < Devise::SessionsController
133133
# include your component registry in order to use custom components
134134
include Components::Registry
135135

0 commit comments

Comments
 (0)