class GeneWithStateParamsPresenter < GeneIndexPresenter
  def as_json(options = {})
    super.merge(state_params)
  end

  private
  def state_params
    {
      state_params: gene.state_params
    }
  end
end

class GeneWithStateParamsPresenter < GeneDetailPresenter
  def as_json(options = {})
    super.merge(state_params)
  end

  private
  def state_params
    {
      state_params: gene.state_params
    }
  end
end

Use GeneDetailPresenter for gene advanced search to include lifecycle actions
Use GeneDetailPresenter for gene advanced search to include lifecycle actions
