mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-26 02:33:03 -04:00
8 lines
161 B
Ruby
8 lines
161 B
Ruby
class ApplicationController < ActionController::Base
|
|
protect_from_forgery
|
|
|
|
def current_user
|
|
@current_user ||= Member.find(session[:member_id])
|
|
end
|
|
end
|