Sha256: 5e24a9a3f50cc8f4be65a0b13ede7101f4bcda40b9242e0c37125f757e539fc1
Contents?: true
Size: 663 Bytes
Versions: 9
Compression:
Stored size: 663 Bytes
Contents
format do view :not_found do |args| if update_machine_output_live? Wagn::Cache.reset_global root.error_status = 302 card.left.update_machine_output wagn_path card.left.machine_output_url else super args end end def update_machine_output_live? said = card.selected_action_id card.left.kind_of? Machine and # must be a machine !card.left.locked? and # machine must not already be running ( card.new_card? or !said or said == card.last_action_id ) # must want current output (won't re-output old stuff) end end
Version data entries
9 entries across 9 versions & 1 rubygems