cfa0149564
Add a beacon to persist timezones when these change (or the first time)
11 lines
213 B
Ruby
11 lines
213 B
Ruby
class My::TimezonesController < ApplicationController
|
|
def update
|
|
Current.user.settings.update!(timezone_name: timezone_param)
|
|
end
|
|
|
|
private
|
|
def timezone_param
|
|
params[:timezone_name]
|
|
end
|
|
end
|