Class: PostsController

Inherits:
Spree::BaseController
  • Object
show all
Defined in:
app/controllers/posts_controller.rb

Instance Method Summary collapse

Instance Method Details

#tagsObject



11
12
13
# File 'app/controllers/posts_controller.rb', line 11

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