Sha256: 600df44c251472d41af67eb7702a5e0a7d143c25112ccb86375cce7d36a4927f

Contents?: true

Size: 93 Bytes

Versions: 2

Compression:

Stored size: 93 Bytes

Contents

module CurrentUserHelper
  def current_user
    User.find_by_id(session[:user_id])
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
garage-doorkeeper-2.0.0 spec/dummy/app/helpers/current_user_helper.rb
garage-doorkeeper-1.0.0 spec/dummy/app/helpers/current_user_helper.rb