Sha256: 93b05ba72602bf3e4f68ea8fbeb27331a745e98ab6cd8f4286da221b8ff0041b
Contents?: true
Size: 315 Bytes
Versions: 3
Compression:
Stored size: 315 Bytes
Contents
module RocketJobMissionControl class ApplicationController < ActionController::Base include ActionController::Live 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
3 entries across 3 versions & 1 rubygems