# Filters added to this controller apply to all controllers in the application.
# Likewise, all the methods added will be available for all controllers.
class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
before_filter :tagcloud, :only => [:index, :show]
def tagcloud
@tags = Tag.find_popular()
end
end