Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

Commit

Permalink
Use publishable (as well as listable) scope for notes shown in tags p…
Browse files Browse the repository at this point in the history
…ages.
  • Loading branch information
joegatt committed Jul 7, 2013
1 parent 7229d1f commit 5c15e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/tags_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def index

def show
@tag = Tag.find_by_slug(params[:slug])
@notes = Note.listable.tagged_with(@tag.name)
@notes = Note.publishable.listable.tagged_with(@tag.name)
@citations = Note.publishable.citations.tagged_with(@tag.name)

if Settings.tags.index.style == 'cloud'
Expand Down

0 comments on commit 5c15e0d

Please sign in to comment.