Reputation: 1289
I have a devise_helper.rb
file where I have:
module DeviseHelper
def devise_error_messages!
'Looks like you missing a password'
end
end
But whenever I go to /user/sign_up
, it shows up. I wonder why that's still showing up without an action?
Upvotes: 1
Views: 137
Reputation: 6852
Take a look at the devise helper file
devise_error_messages! is just a stub. You need to override it with your own implementation of the error messages you want or copy the views to your app and change them to your preference. It looks like you are just printing out 'Looks like you missing a password' the way you have it now. Hope this helps point you in the right direction.
Upvotes: 1