you can now mention in the bookmarklet
This commit is contained in:
parent
98820c0866
commit
bbe5f56292
2 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ class StatusMessagesController < ApplicationController
|
||||||
|
|
||||||
def bookmarklet
|
def bookmarklet
|
||||||
@aspects = current_user.aspects
|
@aspects = current_user.aspects
|
||||||
|
@selected_contacts = @aspects.map { |aspect| aspect.contacts }.flatten.uniq
|
||||||
@aspect_ids = @aspects.map{|x| x.id}
|
@aspect_ids = @aspects.map{|x| x.id}
|
||||||
render :layout => nil
|
render :layout => nil
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
#new_status_message_pane
|
#new_status_message_pane
|
||||||
|
= hidden_field_tag :contact_json, @selected_contacts.map{|contact| contact.person}.to_json
|
||||||
.span-15.last
|
.span-15.last
|
||||||
#facebox_header
|
#facebox_header
|
||||||
%h4
|
%h4
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue