Sha256: c16666d8c47372558bf2b30d6ac051aeea1fa2e4a1f1201694f68cc87f55326a

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

class FreemarkerGenerator < TemplateEngineGenerator

  def view_folder
    "views"
  end

  def extension
    "ftl"
  end

  def path
    "${base}/#{base_path}"
  end
  
  def source_root
    File.join File.dirname(__FILE__), "templates"
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vraptor-scaffold-1.3.0 lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/freemarker_generator.rb
vraptor-scaffold-1.3.0.rc lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/freemarker_generator.rb