class WelcomeController < ApplicationController
  def index
    @recent_snippets = Snippet.most_recent
    @popular_snippets = Snippet.most_popular
    @recent_stories = Story.most_recent
    @popular_stories = Story.most_popular
    @flagged_stories = Flag.stories
    @flagged_snippets = Flag.snippets
    render :layout => false
  end
end

class WelcomeController < ApplicationController
  def index
    @recent_snippets = Snippet.most_recent
    @popular_snippets = Snippet.most_popular
    @recent_stories = Story.most_recent
    @popular_stories = Story.most_popular
    render :layout => false
  end
end

Remove flagged stories and snippets
Remove flagged stories and snippets
