notebook/app/controllers/application_controller.rb
2012-12-22 23:50:10 -06:00

8 lines
128 B
Ruby

class ApplicationController < ActionController::Base
protect_from_forgery
def is_logged_in?
session[:user]
end
end