In the ruby on rails,can I add more than one resources in one controller? Because, if i add more than one resources in one controller, there would be more than one Create, Update, index.. action and html.erb file in one views files. So what should I do If I wanna set more than one resources in one controller? And how about those same name action can be exist successfully in one file?
Aucun commentaire:
Enregistrer un commentaire