def random
    respond_to do |format|
      line = Line.random(params[:character])
      format.text {
        permalink = url_for({