box-o-sand/oldstuff/RubyFun/cookbook/015/hodgepodge/app/controllers/index_controller.rb

7 lines
107 B
Ruby

class IndexController < ApplicationController
def index
session[:first_time] ||= Time.now
end
end