class TagsController
Public Instance Methods
show()
click to toggle source
# File lib/ecrire/theme/template/controllers/tags_controller.rb, line 2 def show @tags = Tag.all @tag = Tag.find(params[:id]) @posts = @tag.posts.includes(:titles).page(params[:page]).per(params[:per]) end