```ruby
class Api::V1::LivesController < Api::V1::ApplicationController

  def index
    @lives = Live.order_by_date
  end

  def show
    @live = Live.includes(:songs).find(params[:id])
  end
end
```

Make lives returned in API visible only
user
```ruby
class Api::V1::LivesController < Api::V1::ApplicationController

  def index
    @lives = Live.visible.order_by_date
  end

  def show
    @live = Live.includes(:songs).find(params[:id])
  end
end
```
assistant