class RailheadPreheatController

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/railhead_preheat.rb, line 7
def initialize(*args)
  super()
  self.class.send :include, Rails.application.routes.url_helpers
  self.class.send :helper, ApplicationHelper
  lookup_context.view_paths = ApplicationController.view_paths
  config.cache_store = ActionController::Base.cache_store
end