impress/app/helpers/closet_hangers_helper.rb
2011-07-20 15:16:22 -04:00

12 lines
243 B
Ruby

require 'cgi'
module ClosetHangersHelper
def send_neomail_url(user)
"http://www.neopets.com/neomessages.phtml?type=send&recipient=#{CGI.escape @user.neopets_username}"
end
def public_perspective?
@public_perspective
end
end