method

load_view_paths

rails latest stable - Class: Rails::Initializer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

load_view_paths()
public

No documentation available.

# File railties/lib/initializer.rb, line 403
    def load_view_paths
      if configuration.frameworks.include?(:action_view)
        ActionController::Base.view_paths.load! if configuration.frameworks.include?(:action_controller)
        ActionMailer::Base.view_paths.load! if configuration.frameworks.include?(:action_mailer)
      end
    end