250
250
self.rtr.add_set_switch('api', 'api')
251
251
self.rtr.add_reverse(Subject, subject_url)
252
252
self.rtr.add_reverse(Offering, offering_url)
253
254
self.rtr.add_view(Subject, '+index', SubjectIndex, viewset='browser')
254
255
self.rtr.add_view(Subject, '+edit', SubjectEdit, viewset='browser')
255
256
self.rtr.add_view(Offering, '+index', OfferingIndex, viewset='browser')