Skip to content
Browse files

use this to get day_start_time inside model

  • Loading branch information...
1 parent ff1f042 commit fbf3430d8b93295a474b2990fc394d6d8c3a4e3d PullMonkey committed Mar 4, 2009
Showing with 9 additions and 0 deletions.
  1. +9 −0 lib/day_view_start_time_data.rb
View
9 lib/day_view_start_time_data.rb
@@ -0,0 +1,9 @@
+module DayViewStartTimeData
+ def day_start_time
+ Thread.current[:day_start_time]
+ end
+
+ def self.day_start_time=(time)
+ Thread.current[:day_start_time] = time
+ end
+end

0 comments on commit fbf3430

Please sign in to comment.
Something went wrong with that request. Please try again.