I’m using the apn_on_rails gem, that has few models under a namespace named APN.
What is the correct way to generate a scaffold controller for the APN::Device model and route to it correctly?
I’m using the apn_on_rails gem, that has few models under a namespace named APN.
Share
which will generate this model for you:
in
app/models/a_p_n/device.rband it will generate routes for you: