Commit 5796caca by ivan Lan

Fix spell mistake

parent 786618ae
...@@ -36,7 +36,7 @@ For example: ...@@ -36,7 +36,7 @@ For example:
```shell ```shell
$ rails g shotengai:models --product MyProduct --order MyOrder $ rails g shotengai:models --product MyProduct --order MyOrder
``` ```
This will create two model file: This will create several model files:
create app/models/my_product.rb create app/models/my_product.rb
create app/models/my_product_series.rb create app/models/my_product_series.rb
create app/models/my_product_snapshot.rb create app/models/my_product_snapshot.rb
......
...@@ -11,7 +11,7 @@ module Shotengai ...@@ -11,7 +11,7 @@ module Shotengai
Use --catalog to custom your own catalog class Use --catalog to custom your own catalog class
For example: For example:
rails g shotengai:models --product MyProduct --order MyOrder rails g shotengai:models --product MyProduct --order MyOrder --catalog Catalog
This will create some model file: This will create some model file:
create app/models/my_product.rb create app/models/my_product.rb
create app/models/my_product_series.rb create app/models/my_product_series.rb
......
class <%= @product_name %> < Shotengai::Product class <%= @product_name %> < Shotengai::Product
join_catalog_system 'Cataglog' join_catalog_system 'Catalog'
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment