I try to add another directory to the paths that Rails is looking to find views, and I found a working solution in the ActionController :: Base.prepend_view_path and ActionController :: Base.append_view_path methods, but both of them are marked as deprecated in Rails 3. There are Is there an alternative I can use?
http://apidock.com/rails/ActionController/Base/prepend_view_path
http://apidock.com/rails/ActionController/Base/append_view_path
ActionController::Base.append/prepend_view_paths are deprecated since they were extracted from the AbstractController module. If you call these methods from your controller, the AbstractController methods will be called, not the deprecated ActionController .
ActionController::Base.append/prepend_view_paths
AbstractController
ActionController
https://github.com/rails/rails/blob/master/actionpack/lib/abstract_controller/view_paths.rb#L25