Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/masterview/extras/rails_init.rb

Instance Method Summary collapse

Instance Method Details

#process(request, response, method = :perform_action, *arguments) ⇒ Object



55
56
57
58
59
60
61
62
# File 'lib/masterview/extras/rails_init.rb', line 55

def process(request, response, method = :perform_action, *arguments)
  mvtemplate_src_root = File.join(self.class.view_root, MasterView::TemplateSrcRelativePath) 
  mvtemplate_dst_root = File.join(self.class.view_root, MasterView::TemplateDestRelativePath) 
  MasterView::TemplateFileWatcher.check(mvtemplate_src_root, MasterView::TemplateFilenamePattern, true) do |f| 
    MasterView::Parser.parse_file( f, mvtemplate_dst_root )
  end
  process_orig(request, response, method, *arguments)
end

#process_origObject



54
# File 'lib/masterview/extras/rails_init.rb', line 54

alias :process_orig :process