def destroy
      @banner = Banner.find(params[:id])
      @banner.destroy
  
      respond_to do |format|
        format.html { redirect_to banners_url }
        format.json { head :no_content }
      end
    end
def destroy
      @banner = Banner.find(params[:id])
      @banner.destroy
  
      respond_to do |format|
        format.html { redirect_to banners_url }
        format.json { head :no_content }
      end
    end
DELETE /banners/1
 DELETE /banners/1.json