Sha256: 3ae368b0355bef3ace5336317182d389a1b8f78b9b4b97281fed687ee42101d1
Contents?: true
Size: 528 Bytes
Versions: 1
Compression:
Stored size: 528 Bytes
Contents
require 'rails' module JsRoutes module Generators class InstallGenerator < ::Rails::Generators::Base desc "This generator install JsRoutes pathBuilder.js which contains utils for building routes on client side" source_root File.expand_path('../../../assets/javascripts', __FILE__) def copy_pathbuilder say_status("copying", "jquery.pathBuilder.js (#{JsRoutes::VERSION})", :green) copy_file "jquery.pathBuilder.js", "public/javascript/jquery.pathBuilder.js" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
js_routes-0.1.10 | lib/generators/js_routes/install/install_generator.rb |