class TagsController < ApplicationController
  def index
  end

  def show
  end
end

class TagsController < ApplicationController
  def index
    @tags = Tag.most_popular
  end

  def show
    @tag = Tag.find_by(id: params[:id])
  end
end

Implement show posts for tag route & tags index ordered by number of posts
Implement show posts for tag route & tags index ordered by number of posts
