Class: Cell::Templates

Inherits:
Object
  • Object
show all
Defined in:
lib/cell/templates.rb

Overview

Gets cached in production.

Defined Under Namespace

Classes: Cache

Instance Method Summary collapse

Instance Method Details

#[](prefixes, view, options) ⇒ Object

prefixes could be instance variable as they will never change.



5
6
7
# File 'lib/cell/templates.rb', line 5

def [](prefixes, view, options)
  find_template(prefixes, view, options)
end