Class: PostsController
- Inherits:
-
Spree::BaseController
- Object
- Spree::BaseController
- PostsController
- Defined in:
- app/controllers/posts_controller.rb
Instance Method Summary collapse
Instance Method Details
permalink #tags ⇒ Object
[View source]
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 |