Module: ActionController
- Defined in:
- lib/masterview/rails_ext/action_controller_erb_direct.rb,
lib/masterview/extras/app/controllers/masterview_controller.rb,
lib/masterview/rails_ext/action_controller_reparse_checking.rb
Overview
Installs hooks to insert MasterView changed-template reparsing into the Rails request dispatching handler in ActionController::Base.
Ensures that MasterView output files are always current while running a Rails application. The :rails_reparse_checking
option in the MasterView configuration should generally be enabled/disabled in conjunction with Rails class load caching, which is normally off in a development environment configuration.
Requires that MasterView templates be parsed at application startup to properly initialize the mechanism for detecting template changes after application startup.