1
0
Fork 0
forked from OpenNeo/impress
impress/app/helpers/static_helper.rb

12 lines
232 B
Ruby
Raw Normal View History

2011-06-28 10:24:40 -07:00
module StaticHelper
def pledgie_link(options={})
options[:class] ||= "pledgie-link"
link_to 'Donate now!', pledgie_url, options
end
def pledgie_url
"http://pledgie.com/campaigns/#{PLEDGIE_CAMPAIGN_ID}"
end
end