Reputation: 570
I have 2 resources - Institute and Classroom. There is a has_many association between Institute and Classroom.
Please let me know how I can setup the following route for the "show" action in the Classrooms Controller:
institutes/<institute_id>/classrooms/<classroom_id>
Upvotes: 1
Views: 25