Class: SubjectTypesController
- Inherits:
-
InheritedResources::Base
- Object
- InheritedResources::Base
- SubjectTypesController
- Defined in:
- app/controllers/subject_types_controller.rb
Instance Method Summary collapse
Instance Method Details
#update ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/controllers/subject_types_controller.rb', line 5 def update @subject_type = SubjectType.find(params[:id]) if params[:move] move_position(@subject_type, params[:move]) return end update! end |