Module: ActiveScaffold::LookupContext

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(name, prefixes = [], partial = false, keys = [], options = {}) ⇒ Object



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

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