Answer the question
In order to leave comments, you need to log in
How to completely disable flash notice in Devise gem?
I'm trying to use devise instead of the existing self-written (as in railstutorial) authorization system. I have the following: for example, the user profile update code
def update
if @user.update_attributes(user_params)
flash[:success] = "Profile updated"
redirect_to @user
else
render 'edit'
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question