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
dev
1 parent 8629be2 commit 11234f3f98035b629bc4daee43fd97fc1a67aeda
@Brian Riley Brian Riley authored on 25 Apr 2017
Showing 8 changed files
View
app/controllers/phases_controller.rb
View
app/controllers/questions_controller.rb
View
app/controllers/sections_controller.rb
View
app/controllers/templates_controller.rb
View
app/models/phase.rb
View
app/models/question.rb
View
app/models/section.rb
View
app/models/template.rb