When redirecting in rails 3,
Is return redirect_to(...) a valid Rails statement?
return redirect_to(...)
I've always just used redirect_to(...) and return but I saw a line like the one described above and I was surprised to see that it also worked.
redirect_to(...) and return
Aucun commentaire:
Enregistrer un commentaire