Przeglądaj źródła

Show confirmation message when deleting a feed. Fixes #10

master
Adrian Short 12 lat temu
rodzic
commit
856529dac2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      app/controllers/feeds_controller.rb

+ 1
- 1
app/controllers/feeds_controller.rb Wyświetl plik

@@ -79,7 +79,7 @@ class FeedsController < ApplicationController
@feed.destroy

respond_to do |format|
format.html { redirect_to feeds_url }
format.html { redirect_to feeds_url, notice: 'Feed deleted OK' }
format.json { head :no_content }
end
end


Ładowanie…
Anuluj
Zapisz