Sha256: 0de2cb731448af59501f1aa36881e1d6607b95d20987b2980b4f17bcde9ae40c
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
format do view :not_found do |args| if update_machine_output_live? 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? srid = card.selected_revision_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 !srid or srid == card.current_revision_id ) # must want current output (won't re-output old stuff) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wagn-1.13.0 | mod/standard/set/right/machine_output.rb |