set view_paths using ApplicationController

I can't render plugin views unless I modify view_paths, is this a correct way to go?
regards