Flowdock
method

load_view_paths

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: Rails::Initializer
load_view_paths() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/initializer.rb, line 353
    def load_view_paths
      if configuration.frameworks.include?(:action_view)
        ActionView::PathSet::Path.eager_load_templates! if configuration.cache_classes
        ActionController::Base.view_paths.load if configuration.frameworks.include?(:action_controller)
        ActionMailer::Base.template_root.load if configuration.frameworks.include?(:action_mailer)
      end
    end
Register or log in to add new notes.