app/controllers/home_controller.rb
# for rss feeds, load the user's tag filters if a token is passed
for rss feeds, load the user's tag filters if a token is passed
for rss feeds load the user ' s tag filters if a token is passed
def tagged
    @tag = Tag.where(:tag => params[:tag]).first!
    @stories, @show_more = get_from_cache(tag: @tag) {
      paginate stories.tagged(@tag)
    }
    @heading = @title = @tag.description.blank?? @tag.tag : @tag.description
    @cur_url = tag_url(@tag.tag)
    @rss_link = { :title => "RSS 2.0 - Tagged #{@tag.tag} (#{@tag.description})",
      :href => "/t/#{@tag.tag}.rss" }
    respond_to do |format|
      format.html { render :action => "index" }
      format.rss { render :action => "rss", :layout => false }
      format.json { render :json => @stories }
    end
  end
def tagged @tag = Tag . where ( :tag => params [ :tag ] ) . first! @stories , @show_more = get_from_cache ( tag : @tag ) { paginate stories . tagged ( @tag ) } @heading = @title = @tag . description . blank? ? @tag . tag : @tag . description @cur_url = tag_url ( @tag . tag ) @rss_link = { :title => "RSS 2.0 - Tagged #{@tag.tag} (#{@tag.description})" , :href => "/t/#{@tag.tag}.rss" } respond_to do | format | format . html { render :action => "index" } format . rss { render :action => "rss" , :layout => false } format . json { render :json => @stories } end end
for rss feeds, load the user's tag filters if a token is passed
for rss feeds load the user ' s tag filters if a token is passed