photomix/app/controllers/tags_controller.rb
2009-05-25 21:39:43 +02:00

12 lines
237 B
Ruby

class TagsController < ApplicationController
def index
@tags = Tag.find( :all)
respond_to do |format|
format.html
format.json { render :json => @tags }
format.xml { render :xml => @tags }
end
end
end