Skip to content

Commit

Permalink
changes on suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocarrera committed Oct 25, 2010
1 parent 6e4ed5e commit 4c1c8ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/helpers/ties_helper.rb
Expand Up @@ -9,7 +9,7 @@ def suggestion_link(subject, relations)
raise "Relation not provided for #{ subject.class.to_s.underscore }" if relation.blank?

if relation=='follower'
link_to t("tie.suggestion.#{ relation }.new"),
link_to t("tie.suggestion.#{ relation }."),
new_tie_path("tie[sender_id]" => current_user.actor.id,
"tie[receiver_id]" => subject.actor.id,
"tie[relation_name]" => relation),
Expand Down
2 changes: 1 addition & 1 deletion app/views/ties/_suggestion.html.erb
Expand Up @@ -10,7 +10,7 @@
<div class="suggestion_brief">
<%= suggestion_brief(subject) %>
</div>
<div class="suggestion_link" id="tie_relation_<%=dom_id(subject)%>">
<div class="suggestion_link" id="tie_relation_<%= dom_id(subject)%>">
<%= suggestion_link(subject, :user => 'friend_request',
:group => 'follower') %>
</div>
Expand Down

0 comments on commit 4c1c8ce

Please sign in to comment.