url_for([:edit, @post])
is working and generating /comments/123/edit. Now I need to add a query parameter, so that instead of
/comments/123/edit
Use named routes.
edit_post_path(@post, :qp => "asdf")