lib/eucalypt/generate/namespaces/generate-controller/cli/generate-controller.rb in eucalypt-0.8.0 vs lib/eucalypt/generate/namespaces/generate-controller/cli/generate-controller.rb in eucalypt-0.9.0
- old
+ new
@@ -16,12 +16,10 @@
controller = Eucalypt::Generators::Controller.new
controller.destination_root = directory
controller.generate(
name: name,
spec: options[:spec],
- rest: options[:rest],
- policy: false,
- headless: false
+ rest: options[:rest]
)
else
Eucalypt::Error.wrong_directory
end
end
\ No newline at end of file