sms-pager/app/helpers/application_helper.rb
2015-09-20 13:26:45 -05:00

8 lines
139 B
Ruby

module ApplicationHelper
def page_link(person)
return if person.phone.blank?
link_to 'page', page_person_path(person)
end
end