Class: ActionView::LookupContext

Inherits:
Object
  • Object
show all
Defined in:
lib/active_scaffold/extensions/action_view_rendering.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#last_templateObject

Returns the value of attribute last_template



3
4
5
# File 'lib/active_scaffold/extensions/action_view_rendering.rb', line 3

def last_template
  @last_template
end

Instance Method Details

#find_template_with_last_template(name, prefixes = [], partial = false, keys = [], options = {}) ⇒ Object



5
6
7
# File 'lib/active_scaffold/extensions/action_view_rendering.rb', line 5

def find_template_with_last_template(name, prefixes = [], partial = false, keys = [], options = {})
  self.last_template = find_template_without_last_template(name, prefixes, partial, keys, options)
end