Class: TagsController

Inherits:
CartoonistController
  • Object
show all
Defined in:
app/controllers/tags_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



2
3
4
5
6
7
8
# File 'app/controllers/tags_controller.rb', line 2

def show
  @tag = Tag.find params[:id].to_i

  cache_page_as "tags/#{@tag.id}.#{cache_type}.tmp.html" do
    render
  end
end