Sha256: a127e83480453bc9fffb744d991dc1c133913d3548aa1d1c2df69635c7bace6c

Contents?: true

Size: 142 Bytes

Versions: 20

Compression:

Stored size: 142 Bytes

Contents

# frozen_string_literal: true

module ApplicationHelper
  def current_user
    @current_user ||= User.find_by_id(session[:user_id])
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
doorkeeper-5.1.2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.6 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.3.3 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.1.1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.5 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.3.2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-mongodb-5.2.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-sequel-2.2.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.4 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.3.1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.3.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.3 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-sequel-2.1.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.0.rc3 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.0.rc2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.2.0.rc1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.1.0 spec/dummy/app/helpers/application_helper.rb