method
add_engine_view_paths
add_engine_view_paths()
protected
Hide source
# File railties/lib/rails/plugin/loader.rb, line 98 def add_engine_view_paths # reverse it such that the last engine can overwrite view paths from the first, like with routes paths = ActionView::PathSet.new(engines.collect(&:view_path).reverse) ActionController::Base.view_paths.concat(paths) ActionMailer::Base.view_paths.concat(paths) if configuration.frameworks.include?(:action_mailer) end