rails g controller api/v6/controller_name create --no-helper --skip-template-engine --skip-routes
mkdir spec/requests/api/v6/controller_name
mv spec/controllers/api/v6/controller_name.rb spec/requests/api/v6/controller_name/
Last active
March 16, 2018 17:02
-
-
Save petitJAM/2b97b33fc49d181b840fb6c03debdb07 to your computer and use it in GitHub Desktop.
Rails generate api controller
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment