Method: PostsController#tags

Defined in:
app/controllers/posts_controller.rb

#tagsObject



15
16
17
# File 'app/controllers/posts_controller.rb', line 15

def tags
    @posts = Post.publish.find_all_tagged_with(params[:tag_name]).paginate :page => params[:page]    
end