Sha256: 4ec08c2b1308a2e18513c5dcb66eca0b73825d7eaa4c653e86038a8c9b8f3f0f

Contents?: true

Size: 249 Bytes

Versions: 45

Compression:

Stored size: 249 Bytes

Contents

event :discard_deleted_locations, in: :finalize, on: :delete do
  Env.discard_locations_for self
  success.target = :previous if success.target == self
end

event :save_current_location, before: :show_page, on: :read do
  Env.save_location self
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
card-1.18.4 mod/01_core/set/all/location_history.rb
card-1.18.3 mod/01_core/set/all/location_history.rb
card-1.18.2 mod/01_core/set/all/location_history.rb
card-1.18.1 mod/01_core/set/all/location_history.rb
card-1.18.0 mod/01_core/set/all/location_history.rb