Sha256: c36a974f8b92e68d7679f0697fd4c7df87f7bf97935895a5b93e8caeb9c4a794

Contents?: true

Size: 166 Bytes

Versions: 6

Compression:

Stored size: 166 Bytes

Contents

module ApplicationHelper
  @@user = nil

  def current_user
    @@user
  end

  def sign_in(user)
    @@user = user
  end

  def sign_out
    @@user = nil
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
commontator-5.1.0 spec/dummy/app/helpers/application_helper.rb
commontator-5.0.0 spec/dummy/app/helpers/application_helper.rb
commontator-4.11.1 spec/dummy/app/helpers/application_helper.rb
commontator-4.11.0 spec/dummy/app/helpers/application_helper.rb
commontator-4.10.5 spec/dummy/app/helpers/application_helper.rb
commontator-4.10.4 spec/dummy/app/helpers/application_helper.rb