Show clips list in tag viewer
This commit is contained in:
parent
5fc6913551
commit
bacef8db2c
2 changed files with 35 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ class TagsController < ApplicationController
|
|||
end
|
||||
|
||||
def show
|
||||
@clips = Clip.joins(:tags).where(tags: { id: @tag.id })
|
||||
end
|
||||
|
||||
def new
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue