From 75e1ddf9d28ec19d41b03dce3e844bafc776ff6b Mon Sep 17 00:00:00 2001 From: ilya Date: Thu, 23 Sep 2010 17:17:18 -0700 Subject: [PATCH] saying going to FB in public aspect --- app/views/shared/_publisher.haml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/views/shared/_publisher.haml b/app/views/shared/_publisher.haml index ae61300f3..fdacfccb4 100644 --- a/app/views/shared/_publisher.haml +++ b/app/views/shared/_publisher.haml @@ -11,6 +11,7 @@ %p %label{:for => "status_message_message"} Message = f.text_area :message, :rows => 2, :value => params[:prefill] + = "going to Facebook as #{MiniFB.get(@access_token, 'me')[:name]}" if @logged_in = f.hidden_field( :public, :value => (params[:action] == 'public') ) %ul.aspect_selector{ :style => "display:none;"} @@ -22,8 +23,3 @@ = f.submit "Share" - - if @logged_in - - @response_hash = MiniFB.get(@access_token, 'me') - = "going to Facebook as #{@response_hash[:name]}" - -