add search to tag index

This commit is contained in:
2022-12-03 20:35:54 -05:00
parent d743336868
commit 3ea4b77b67
25 changed files with 226 additions and 51 deletions

View File

@ -64,7 +64,8 @@ defmodule CanneryWeb.Router do
live "/tags", TagLive.Index, :index
live "/tags/new", TagLive.Index, :new
live "/tags/:id/edit", TagLive.Index, :edit
live "/tags/edit/:id", TagLive.Index, :edit
live "/tags/search/:search", TagLive.Index, :search
live "/catalog", AmmoTypeLive.Index, :index
live "/catalog/new", AmmoTypeLive.Index, :new