Skip to content

Commit

Permalink
Create supply view
Browse files Browse the repository at this point in the history
  • Loading branch information
erickmp07 committed Oct 20, 2021
1 parent 30d2cc1 commit 82b3d0a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/inmana_web/views/supplies_view.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
defmodule InmanaWeb.SuppliesView do
use InmanaWeb, :view

def render("create.json", %{supply: supply}) do
%{
message: "Supply created!",
supply: supply
}
end
end

0 comments on commit 82b3d0a

Please sign in to comment.