|
moved most of the save logic from the template controller to the model. Updated the phases/section/question models to use the after_save callback to handle updating the template.dirty flag
|
|---|
|
|
| app/controllers/phases_controller.rb |
|---|
| app/controllers/questions_controller.rb |
|---|
| app/controllers/sections_controller.rb |
|---|
| app/controllers/templates_controller.rb |
|---|
| app/models/phase.rb |
|---|
| app/models/question.rb |
|---|
| app/models/section.rb |
|---|
| app/models/template.rb |
|---|