Module: TimecopControllerMethods

Defined in:
lib/timecop-console/timecop_controller_methods.rb

Overview

Defines extensions applied to ActionController::Base to support our time travel

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
# File 'lib/timecop-console/timecop_controller_methods.rb', line 4

def self.included(base)
  base.class_eval do
    around_filter :handle_timecop_offset
  end
end