Commit c39315e4 by ivan Lan

Skip the creating of merchant cart controller

parent e608ffd1
......@@ -52,6 +52,8 @@ module Shotengai
'carts' => '::Order::Cart',
}.each do |key, klass_name|
next if @role.eql?('merchant') && key.eal?('carts')
@key, @klass_name = key, klass_name
template "template_controller.rb",
"app/controllers/#{@namespace}/#{@key}_controller.rb"
......
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