Class: ActionDispatch::DebugView
Instance Method Summary collapse
-
#initialize(assigns) ⇒ DebugView
constructor
A new instance of DebugView.
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 |