Sha256: 4e8faf94641ceeaab45b993cb16e9191a982009c1c9b75d539cace65b614aab3

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class TagsController < ApplicationController

  caches_page :show
  
  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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pictrails-0.5.0 app/controllers/tags_controller.rb