瀏覽代碼

Show confirmation message when deleting a feed. Fixes #10

master
Adrian Short 12 年之前
父節點
當前提交
856529dac2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/controllers/feeds_controller.rb

+ 1
- 1
app/controllers/feeds_controller.rb 查看文件

@@ -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


Loading…
取消
儲存