Skip to content

Commit

Permalink
Remove book deletion resource
Browse files Browse the repository at this point in the history
  • Loading branch information
KitaitiMakoto committed May 22, 2016
1 parent c2d6543 commit 0c3008b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/controllers/main-controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,4 @@
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

0 comments on commit 0c3008b

Please sign in to comment.