I am new to ruby on rails and i want to understand how this piece of code redirect to the show action thanks :
def create @article = Article.new(params[:article]) @article.save redirect_to @article end
Aucun commentaire:
Enregistrer un commentaire