Ruby on Rails Saturday, July 8, 2017

My index action looks for params[:team_id] It gets calls by url with the path "/pictures?team_id=5" I;m try to redirect back to index after create with this redirect to action

format.html { redirect_to action: "index", team_id: params[:imageable_id], notice: "The picture has been uploaded." }

But index action doesn't get the param team_id

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment