saying going to FB in public aspect

This commit is contained in:
ilya 2010-09-23 17:17:18 -07:00
parent 0d71a1896c
commit 75e1ddf9d2

View file

@ -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]}"