Permalink
Browse files

fixed the way pagination offset works

  • Loading branch information...
pugetive committed Aug 28, 2018
1 parent 7e55533 commit 72d2bd93da4a7e3a25eb74b484e19d017d32e3dc
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/africa/africa_reminder_mail.rb
@@ -1,7 +1,7 @@
require 'csv'
require 'mail'
OFFSET_DAYS = 17309
OFFSET_PAGES = 457
gpass = YAML.load_file("config/pugetive.yml")['production']['gmail_app_key']
options = { :address => "smtp.gmail.com",
@@ -41,7 +41,7 @@ def mail_todays_reminder
end
def trailmix_offset
days_since_epoch - OFFSET_DAYS
OFFSET_PAGES
end
def contents_for_index(index)

0 comments on commit 72d2bd9

Please sign in to comment.