Sha256: 51394b451236b13fc9e45b3f0f6524d356107564d15a70e31dac9e3fff5319c6
Contents?: true
Size: 211 Bytes
Versions: 2
Compression:
Stored size: 211 Bytes
Contents
# frozen_string_literal: true class ApplicationAction < Upgrow::Action expose :current_user def initialize(user_id:) super() @current_user = UserRepository.new.find_from_context(user_id) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
upgrow-0.0.5 | test/dummy/app/actions/application_action.rb |
upgrow-0.0.4 | test/dummy/app/actions/application_action.rb |