def create
      @tag = LatoBlog::Tag.new(new_tag_params)

      if !@tag.save
        flash[:danger] = @tag.errors.full_messages.to_sentence
        redirect_to lato_blog.new_tag_path
        return
      end

      flash[:success] = LANGUAGES[:lato_blog][:flashes][:tag_create_success]
      redirect_to lato_blog.tag_path(@tag.id)
    end
def create
      @tag = LatoBlog::Tag.new(new_tag_params)

      if !@tag.save
        flash[:danger] = @tag.errors.full_messages.to_sentence
        redirect_to lato_blog.new_tag_path
        return
      end

      flash[:success] = LANGUAGES[:lato_blog][:flashes][:tag_create_success]
      redirect_to lato_blog.tag_path(@tag.id)
    end
This function creates a new tag.