app/controllers/course_classes_controller.rb
# to avoid to call show of CourseController
to avoid to call show of CourseController
to avoid to call show of CourseController
def prepare_for_adding_assoc_target(course_class, pre_assoc_items)
   course_class.organizations.build 
   @def_course_class_form_items = Def_Course_Class_Form_Items
   @course_class_form_items     = Course_Class_Form_Items
   @aff_root = Affiliation.tree_root
   @sta_root = Status.tree_root
 end
def prepare_for_adding_assoc_target ( course_class , pre_assoc_items ) course_class . organizations . build @def_course_class_form_items = Def_Course_Class_Form_Items @course_class_form_items = Course_Class_Form_Items @aff_root = Affiliation . tree_root @sta_root = Status . tree_root end
to avoid to call show of CourseController
to avoid to call show of CourseController
course_class
<not_specific>
pre_assoc_items
<not_specific>