Module: CalendarHelper

Defined in:
app/helpers/calendar_helper.rb

Instance Method Summary collapse

Instance Method Details

#calendar_url_optionsObject


4
5
6
7
8
9
# File 'app/helpers/calendar_helper.rb', line 4

def calendar_url_options
  { format: :ics,
    feed_token: current_user.try(:feed_token),
    due_date: Issue::DueNextMonthAndPreviousTwoWeeks.name,
    sort: 'closest_future_date' }
end