changed the variable name

This commit is contained in:
Ilyaaaaaaaaaaaaa Zhitomirskiy 2011-07-04 14:54:56 -07:00
parent f0d9d318e8
commit d15673c3de

View file

@ -72,9 +72,9 @@ class TagsController < ApplicationController
end end
def tag_followed? def tag_followed?
if @tf.nil? if @tag_followed.nil?
@tf = TagFollowing.joins(:tag).where(:tags => {:name => params[:name]}, :user_id => current_user.id).exists? #, @tag_followed = TagFollowing.joins(:tag).where(:tags => {:name => params[:name]}, :user_id => current_user.id).exists? #,
end end
@tf @tag_followed
end end
end end