Skip to content

Refactor breadcrumbs plugin

The ContentBreadcrumbsBlock class HTML generation have been refactored (thanks @joenio) in terms of view and helper, improving MVC compliance but still missed the Controller coupling with the view and helper through the dependency for params variable.

I'm still not 100% sure if params is accessible from views. Some more feedback and review on it would be welcome.

Finally the unit tests have been fixed accordingly to the refactor.

Travis build: https://travis-ci.org/rafamanzo/noosfero/builds/128041637

Merge request reports