Class: CargoWiki::TagsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/cargo_wiki/tags_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
# File 'app/controllers/cargo_wiki/tags_controller.rb', line 5

def index
  @tags = CargoWiki::Article.tag_counts_on(:tags).order("name ASC")
  respond_with(@tags)
end