changed method from public to private

Non-action public method found in controller class.
Sensio insights says so
Merge pull request #392 from covus-filipe-garcia/patch-2

changed method from public to private