@matjack1 you nailed it.
Even I tried a solution but with a similar project.
You can use permit! to do away with the parameters method. And use params[:content_type]. This was suggested by @halogenandtoast. Even I am waiting for his reply.
@matjack1 you nailed it.
Even I tried a solution but with a similar project.
You can use permit! to do away with the parameters method. And use params[:content_type]. This was suggested by @halogenandtoast. Even I am waiting for his reply.