```ruby
class SitemapController < ApplicationController
  def index
    @articles = ContentService.new.list_articles.sort { |a, b| b.created_at <=> a.created_at }
  end
end```

Use the signleton contenful service insteado f instansiating a new one.
user
```ruby
class SitemapController < ApplicationController
  def index
    @articles = ContentService.instance.list_articles.sort { |a, b| b.created_at <=> a.created_at }
  end
end
```
assistant