mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
Moves the plugin directory and associated files, along with updating various import references.
10 lines
181 B
Ruby
10 lines
181 B
Ruby
# frozen_string_literal: true
|
|
|
|
class UserTimezoneSerializer < BasicUserSerializer
|
|
attributes :timezone, :on_holiday
|
|
|
|
def on_holiday
|
|
@options[:on_holiday] || false
|
|
end
|
|
end
|