```ruby
module V1
  class TalksController < ApplicationController

    def index
      edition = if params.has_key?(:id)
        Edition.find_by(id: params[:id])
      else
        Edition.get_current
      end

      @talks = Talk.where(edition: edition)
    end

  end
end
```

Revert "Filter editions by id param"
user
```ruby
module V1
  class TalksController < ApplicationController

    def index
      edition = if params.has_key?(:edition)
        Edition.find_by(id: params[:edition])
      else
        Edition.get_current
      end

      @talks = Talk.where(edition: edition)
    end

  end
end
```
assistant