Skip to content

Commit

Permalink
Improvements tests and change endpoint to process view
Browse files Browse the repository at this point in the history
  • Loading branch information
marioidival committed Jan 13, 2017
1 parent fe75f07 commit 9ec35e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func app() {
r.HandleFunc("/{database}/{schema}/{table}", controllers.InsertInTables).Methods("POST")
r.HandleFunc("/{database}/{schema}/{table}", controllers.DeleteFromTable).Methods("DELETE")
r.HandleFunc("/{database}/{schema}/{table}", controllers.UpdateTable).Methods("PUT", "PATCH")
r.HandleFunc("/{database}/{schema}/view/{view}", controllers.SelectFromViews).Methods("GET")
r.HandleFunc("/_VIEW/{database}/{schema}/{view}", controllers.SelectFromViews).Methods("GET")

n.UseHandler(r)
n.Run(fmt.Sprintf(":%v", cfg.HTTPPort))
Expand Down

0 comments on commit 9ec35e2

Please sign in to comment.