Sha256: 326cb519790cf8c6d2e031091a9a4ffadedbe11fa14c1eb1458b7dc6b593d729

Contents?: true

Size: 793 Bytes

Versions: 1

Compression:

Stored size: 793 Bytes

Contents

Description:
	Generate view (javascript files : controller, model, store, view)

Example:
    view : rails generate hatio:resource_view Supplier --bundle=Common --domain_id=1 --view_type=list-item --detail_view_type=view --parent_menu=System

    This will create:
		vendor/bundles/common/app/assets/javascripts/bundle/common/controller/supplier/Supplier.js
		vendor/bundles/common/app/assets/javascripts/bundle/common/modle/Supplier.js
		vendor/bundles/common/app/assets/javascripts/bundle/common/store/Supplier.js
		vendor/bundles/common/app/assets/javascripts/bundle/common/view/supplier/Supplier.js


bundle : rails generate hatio:bundle Common --bundle_name=common

api : rails generate hatio:resource_api Supplier --id_type=auto-increment --bundle=Common --history=n --domain_name=System

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hatio-core-0.0.6 lib/generators/hatio/resource_view/USAGE