/:account_slug/tags returns 500 — template calls tag_path, route is only: :index
#3053
Unanswered
ilovewastingink
asked this question in
Ideas and Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Visiting All tags 500s on any account with at least one tag. (A tagless account renders fine — the loop body never runs.)
app/views/tags/index.html.erb:14renders a delete button:but
config/routes.rb:110isresources :tags, only: :index, which generates notag_path.TagsControllerhas onlyindex.Fix, depending on whether manual tag deletion is intended: add
destroyto the route and controller, or drop thebutton_tofrom the template —DeleteUnusedTagsJobalready sweeps unused tags nightly.Seen on app.fizzy.do 2026-08-21; source checked at
7aabe74.All reactions