def destroycat @pro_categorie = ProCategorie.find(params[:id]) @pro_categorie.destroy
respond_to do |format|
format.html { redirect_to(admins_url) }
format.xml { head :ok }
end
end
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.