impress/app/helpers/closet_hangers_helper.rb

13 lines
243 B
Ruby
Raw Normal View History

2011-07-20 12:16:22 -07:00
require 'cgi'
2011-07-12 17:03:04 -07:00
module ClosetHangersHelper
2011-07-20 12:16:22 -07:00
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
2011-07-12 17:03:04 -07:00
end