Missing destroy command

This commit is contained in:
Akira Matsuda & Yukiko Kawamoto 2013-09-13 18:16:02 +09:00 committed by Akira Matsuda
parent defdeed2fc
commit 1eebfc9f66

@ -51,6 +51,10 @@ def generate
generate_or_destroy(:generate)
end
def destroy
generate_or_destroy(:destroy)
end
def console
require_command!("console")
options = Rails::Console.parse_arguments(argv)