Method: PostsController#tags
- Defined in:
- app/controllers/posts_controller.rb
#tags ⇒ Object
15 16 17 |
# File 'app/controllers/posts_controller.rb', line 15 def @posts = Post.publish.find_all_tagged_with(params[:tag_name]).paginate :page => params[:page] end |