Sha256: 46cdb2f43c7f187bb9f5a51c21206c06af4d47a6848db4d09840bef211a106a5
Contents?: true
Size: 344 Bytes
Versions: 1
Compression:
Stored size: 344 Bytes
Contents
require "rails/generators" module Forml module Generators class AssetsGenerator < Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) def copy_forml template "javascript.js.forml.erb", File.join('app/assets/javascripts', class_path, "#{file_name}.js.forml") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forml-rails-0.0.5 | lib/rails/generators/forml/assets/assets_generator.rb |