Class: TagsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- TagsController
- Defined in:
- app/controllers/tags_controller.rb
Instance Method Summary collapse
Methods included from Pictrails::CachingMethods
Instance Method Details
#show ⇒ Object
5 6 7 8 9 10 |
# File 'app/controllers/tags_controller.rb', line 5 def show @tag = Tag.find_by_name params[:id] @tags = [@tag] @taggings = @tag.taggings.paginate :page => params[:page], :per_page => this_webapp.pictures_pagination end |