How do I create a rails Events controller in a different directory other than the default:
app/controllers/events_controller.rb
I need to create in app/controllers/api/events_controller.rb
I created the api
sub-directory and did cd
in terminal to api. When I created the controller it still generated in the default app/controllers/
.
Thanks.