[Groonga-commit] ranguba/epub-searcher at 0c3008b [master] Remove book deletion resource

アーカイブの一覧に戻る

KITAITI Makoto null+****@clear*****
Sun May 22 22:39:29 JST 2016


KITAITI Makoto	2016-05-22 22:39:29 +0900 (Sun, 22 May 2016)

  New Revision: 0c3008b50d039b69bcc0496a52ec2347593f38e1
  https://github.com/ranguba/epub-searcher/commit/0c3008b50d039b69bcc0496a52ec2347593f38e1

  Message:
    Remove book deletion resource

  Modified files:
    app/controllers/main-controller.rb

  Modified: app/controllers/main-controller.rb (+0 -6)
===================================================================
--- app/controllers/main-controller.rb    2016-05-22 22:28:57 +0900 (3084dbb)
+++ app/controllers/main-controller.rb    2016-05-22 22:39:29 +0900 (2c6364d)
@@ -25,10 +25,4 @@ EPUBSearcher::App.controllers do
     render 'books'
   end
 
-  delete :books, :with => :id do
-    result = delete_from_groonga(params[:id])
-    halt 400, result.message unless result.success?
-    redirect url_for(:books)
-  end
-
 end
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る