Sha256: 193094c8a623a3e51cd63e4e03740f4f363b1b25af278bf82878f003b6f2b943
Contents?: true
Size: 175 Bytes
Versions: 9
Compression:
Stored size: 175 Bytes
Contents
class ApplicationController < ActionController::Base # fake current_user method, returns instance of user model def current_user User.find(session[:user_id]) end end
Version data entries
9 entries across 9 versions & 1 rubygems