app/helpers/assays_helper.rb
def direction_name(direction)
    case direction
      when AssayAsset::Direction::INCOMING
        'Incoming'
      when AssayAsset::Direction::OUTGOING
        'Outgoing'
      else
        'No direction'
    end
  end
#assays that haven't already been associated with a study
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study
def direction_name(direction)
    case direction
      when AssayAsset::Direction::INCOMING
        'Incoming'
      when AssayAsset::Direction::OUTGOING
        'Outgoing'
      else
        'No direction'
    end
  end
def direction_name ( direction ) case direction when AssayAsset :: Direction :: INCOMING 'Incoming' when AssayAsset :: Direction :: OUTGOING 'Outgoing' else 'No direction' end end
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study
direction