blob: 762a972ec254de061fc0d93fe8df4c40c7355506 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
module ApplicationHelper
def active_nav_class(path)
current_page?(path) ? 'active' : ''
end
def s3_expiry
Time.zone.now.beginning_of_day.since 25.hours
end
end
|