Remove unused helper functions
This commit is contained in:
parent
b296e73c36
commit
be90b4fef3
2 changed files with 0 additions and 19 deletions
|
|
@ -1,11 +1,4 @@
|
||||||
module ContactsHelper
|
module ContactsHelper
|
||||||
def contact_aspect_dropdown(contact)
|
|
||||||
render :partial => 'people/relationship_action',
|
|
||||||
:locals => { :person => contact.person,
|
|
||||||
:contact => contact,
|
|
||||||
:current_user => current_user }
|
|
||||||
end
|
|
||||||
|
|
||||||
def start_a_conversation_link(aspect, contacts_size)
|
def start_a_conversation_link(aspect, contacts_size)
|
||||||
conv_opts = { class: "conversation_button contacts_button"}
|
conv_opts = { class: "conversation_button contacts_button"}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,16 +7,4 @@ module GettingStartedHelper
|
||||||
def has_completed_getting_started?
|
def has_completed_getting_started?
|
||||||
current_user.getting_started == false
|
current_user.getting_started == false
|
||||||
end
|
end
|
||||||
|
|
||||||
def tag_link(tag_name)
|
|
||||||
if tag_followed?(tag_name)
|
|
||||||
link_to "##{tag_name}", tag_followings_path(tag_name), :method => :delete, :class => "featured_tag followed"
|
|
||||||
else
|
|
||||||
link_to "##{tag_name}", tag_tag_followings_path(tag_name), :method => :post, :class => "featured_tag"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def tag_followed?(tag_name)
|
|
||||||
tags.detect{|t| t.name == tag_name}
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue