Welcome to mirror list, hosted at ThFree Co, Russian Federation.

calendar_helper.rb « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ad4116fc3da824cad6644c4ca3d2c748e9d6cd4c (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

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