Sha256: 197e4fcb3039d9152ff1b7fbcc1693336d380d51ed53075dda65675583754bf9
Contents?: true
Size: 669 Bytes
Versions: 4
Compression:
Stored size: 669 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
4 entries across 4 versions & 1 rubygems