Sha256: a981bf42c5ebe0423af499f36d2007b5606b5c0fce839f3d19d92b449129ca7e
Contents?: true
Size: 531 Bytes
Versions: 1
Compression:
Stored size: 531 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.11 | lib/generators/js_routes/install/install_generator.rb |