Class: BlogBasic::TagsController
- Inherits:
-
AppController
- Object
- ActionController::Base
- AppController
- BlogBasic::TagsController
- Defined in:
- app/controllers/blog_basic/tags_controller.rb
Instance Method Summary collapse
Methods inherited from AppController
#current_user, #require_user, #signed_in?
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/blog_basic/tags_controller.rb', line 5 def show @blog_posts = BlogPost.published.tagged_with(params[:id]).paginate(:page => params[:page], :per_page => 5) render :template => 'blog_basic/blog_posts/index', :layout => true end |