I created an API-only rail application with Rails 5 through rails new <application-name> --api . I decided that I want to include a view for testing some things, and I'm having problems loading.
I created a users / index.html.erb file with some text, and now my controller is now just def index; end def index; end , but I donβt see anything when I click on the / users url. I also tried commenting out # config.api_only = true in config / application.rb, but that didn't affect anything. Any suggestions on how to proceed?
source share