Class: ActionDispatch::DebugView

Inherits:
Object
  • Object
show all
Defined in:
lib/proscenium/railtie.rb

Instance Method Summary collapse

Constructor Details

#initialize(assigns) ⇒ DebugView

Returns a new instance of DebugView.



99
100
101
102
103
104
# File 'lib/proscenium/railtie.rb', line 99

def initialize(assigns)
  tpl_path = Proscenium::Railtie.root.join('lib', 'proscenium', 'templates').to_s
  paths = [RESCUES_TEMPLATE_PATH, tpl_path]
  lookup_context = ActionView::LookupContext.new(paths)
  super(lookup_context, assigns, nil)
end