Sha256: 4c5afa554f7839845edd9e4f9efdd4ba9afa780615764aeb88458ba1533db584

Contents?: true

Size: 111 Bytes

Versions: 91

Compression:

Stored size: 111 Bytes

Contents

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

Version data entries

91 entries across 91 versions & 5 rubygems

Version Path
doorkeeper-5.0.3 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.1.0.rc2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.1.0.rc1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.0.2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-mongodb-5.0.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.0.1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-mongodb-4.2.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-sequel-2.0.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-sequel-1.5.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.4.3 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.0.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.4.2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.4.1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.0.0.rc2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.4.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-5.0.0.rc1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-mongodb-4.1.0 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.3.2 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.3.1 spec/dummy/app/helpers/application_helper.rb
doorkeeper-4.3.0 spec/dummy/app/helpers/application_helper.rb