mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-07 20:42:44 +00:00
added the search api with pagnination, and added a remove invalid brew endpoint to the admin
This commit is contained in:
@@ -43,7 +43,7 @@ var Statusbar = React.createClass({
|
||||
if(!confirm("are you sure you want to delete this brew?")) return;
|
||||
if(!confirm("are you REALLY sure? You will not be able to recover it")) return;
|
||||
|
||||
request.get('/homebrew/remove/' + this.props.editId)
|
||||
request.get('/homebrew/api/remove/' + this.props.editId)
|
||||
.send()
|
||||
.end(function(err, res){
|
||||
window.location.href = '/homebrew';
|
||||
|
||||
Reference in New Issue
Block a user