Create books via admin

This commit is contained in:
2023-12-22 21:17:02 +11:00
parent 900fdea472
commit bace782b54
5 changed files with 59 additions and 1 deletions

View File

@@ -67,5 +67,6 @@ module Admin
get "/books", to: Auth.call(action: "books.index")
patch "/books/:id", to: Auth.call(action: "books.update")
post "/books", to: Auth.call(action: "books.create")
end
end