Commit b61d906b by ivan Lan

Add snapshot controller to controller generator

parent fc40c834
...@@ -41,6 +41,7 @@ module Shotengai ...@@ -41,6 +41,7 @@ module Shotengai
'products' => options[:product], 'products' => options[:product],
'orders' => options[:order], 'orders' => options[:order],
'product_series' => "#{options[:product]}Series", 'product_series' => "#{options[:product]}Series",
'product_snapshots' => "#{options[:product]}Snapshots",
}.each do |key, klass_name| }.each do |key, klass_name|
@key, @klass_name, @role = key, klass_name, role @key, @klass_name, @role = key, klass_name, role
......
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