fix tag stream, no comments for now, but coming soon

This commit is contained in:
Maxwell Salzberg 2011-10-03 17:30:22 -07:00
parent 34f82d8bc1
commit 81e04a11fe
3 changed files with 3 additions and 3 deletions

View file

@ -9,6 +9,7 @@ class TagFollowingsController < ApplicationController
before_filter :save_sort_order, :only => :index before_filter :save_sort_order, :only => :index
def index def index
@commenting_disabled = true
@stream = TagStream.new(current_user, :max_time => params[:max_time], :order => sort_order) @stream = TagStream.new(current_user, :max_time => params[:max_time], :order => sort_order)
if params[:only_posts] if params[:only_posts]
render :partial => 'shared/stream', :locals => {:posts => @stream.posts} render :partial => 'shared/stream', :locals => {:posts => @stream.posts}

View file

@ -4,7 +4,7 @@
%ul#aspect_nav.left_nav %ul#aspect_nav.left_nav
%li.all_aspects{:class => ("active" if params["set"] != "all" && params["set"] != "only_sharing" && !@featured && !@finder)} %li.all_aspects{:class => ("active" if params["set"] != "all" && params["set"] != "only_sharing" && !@featured && !@finder)}
.root_element= t('aspects.index.your_aspects') .root_element= link_to t('aspects.index.your_aspects'), aspects_path
%ul.sub_nav %ul.sub_nav
%a.toggle_selector{:href => '#'} %a.toggle_selector{:href => '#'}

View file

@ -5,8 +5,7 @@
- if user_signed_in? - if user_signed_in?
%ul.left_nav %ul.left_nav
%li %li
-# %b=link_to t('aspects.index.tags_following'), tag_followings_path, :class => 'home_selector' %b=link_to t('aspects.index.tags_following'), tag_followings_path, :class => 'home_selector'
%b=t('aspects.index.tags_following')
%ul.sub_nav %ul.sub_nav
- if tags.size > 0 - if tags.size > 0