Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix cleanup warnings

-3
-1
lib/sower_web/controllers/seed_controller.ex
··· 7 7 with {:ok, %Sower.Seed.Instance{} = seed} <- Sower.Seed.create_or_insert_seed(seed_params) do 8 8 conn 9 9 |> put_status(:created) 10 - |> put_resp_header("location", ~p"/api/seeds/#{seed}") 11 10 |> render(:show, seed: seed) 12 11 end 13 12 end
-2
lib/sower_web/router.ex
··· 18 18 scope "/", SowerWeb do 19 19 pipe_through(:browser) 20 20 21 - get("/", PageController, :home) 22 - 23 21 live("/seeds", SeedLive.Index, :index) 24 22 live("/seeds/:id", SeedLive.Show, :show) 25 23 end