app/controllers/admin/communication/websites/dependencies_controller.rb
class Admin::Communication::Websites::DependenciesController < Admin::Communication::Websites::ApplicationController
def index
@dependencies = @website.recursive_dependencies(follow_direct: true)
.sort_by { |dependency| dependency.class.to_s }
breadcrumb
end
protected
def breadcrumb
super
add_breadcrumb 'Dépendances', admin_communication_website_dependencies_path
end
end