Module: SharedMustache::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/shared_mustache/config.rb

Overview

Change config options in an initializer:

SharedMustache::Config.template_file = ‘app/assets/javascriopt/mustache_templates.js’

Instance Attribute Summary collapse

Instance Attribute Details

#template_fileObject



11
12
13
# File 'lib/shared_mustache/config.rb', line 11

def template_file
  @template_file ||= File.join(Rails.root, 'app', 'assets', 'javascripts', 'templates.js')
end