use route instead of calling the controller directly
Merge pull request #90 from liip-forks/tree_manager_type

use route instead of calling the controller directly