Sha256: b82e5c540fabcb9a1c2c4563c656815441619185c0abb8490822b361a0960120
Contents?: true
Size: 381 Bytes
Versions: 2
Compression:
Stored size: 381 Bytes
Contents
require 'rails/generators' module Sunrise module Votes class InstallGenerator < Rails::Generators::Base source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates')) desc "Copy javascript chart files" def copy_javascripts directory "javascripts/ballot_box", "public/javascripts/ballot_box" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sunrise-votes-0.1.1 | lib/generators/sunrise/votes/install_generator.rb |
sunrise-votes-0.1.0 | lib/generators/sunrise/votes/install_generator.rb |