Sha256: 58710d3e425ecc9f2e751c2605dd98083fc0d770ba93967c8433424ba91fcbe1
Contents?: true
Size: 322 Bytes
Versions: 5
Compression:
Stored size: 322 Bytes
Contents
module RocketJobMissionControl class ApplicationController < ActionController::Base protect_from_forgery with: :exception around_action :with_time_zone private def with_time_zone if time_zone = session['time_zone'] || 'UTC' Time.use_zone(time_zone) { yield } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems