Moved Actions, views, and partials for sections/phases/questions/suggested_answers out of templates, and wrote up associated authorization
dev
1 parent a43aaa8 commit f8b2fe62b188dd5d6661936dfc561438f8c30ff8
@xsrust xsrust authored on 24 Feb 2017
Showing 53 changed files
View
app/controllers/phases_controller.rb
View
app/controllers/questions_controller.rb 0 → 100644
View
app/controllers/sections_controller.rb 0 → 100644
View
app/controllers/suggested_answers_controller.rb 0 → 100644
View
app/controllers/templates_controller.rb
View
app/policies/phase_policy.rb 0 → 100644
View
app/policies/question_policy.rb 0 → 100644
View
app/policies/section_policy.rb 0 → 100644
View
app/policies/suggested_answer_policy.rb 0 → 100644
View
app/policies/template_policy.rb
View
app/views/guidances/_add_guidance.html.erb 0 → 100644
View
app/views/guidances/_edit_guidance.html.erb 0 → 100644
View
app/views/guidances/_guidance_display.html.erb 0 → 100644
View
app/views/phases/_edit_phase.html.erb 0 → 100644
View
app/views/phases/_show_phase.html.erb 0 → 100644
View
app/views/phases/admin_add.html.erb 0 → 100644
View
app/views/phases/admin_preview.html.erb 0 → 100644
View
app/views/phases/admin_show.html.erb 0 → 100644
View
app/views/question_options/_option_fields.html.erb 0 → 100644
View
app/views/questions/_add_question.html.erb 0 → 100644
View
app/views/questions/_edit_question.html.erb 0 → 100644
View
app/views/questions/_preview_question.html.erb 0 → 100644
View
app/views/questions/_show_question.html.erb 0 → 100644
View
app/views/sections/_add_section.html.erb 0 → 100644
View
app/views/sections/_edit_section.html.erb 0 → 100644
View
app/views/sections/_show_section.html.erb 0 → 100644
View
app/views/suggested_answers/_add_suggested_answer.html.erb 0 → 100644
View
app/views/suggested_answers/_edit_suggested_answer.html.erb 0 → 100644
View
app/views/suggested_answers/_show_suggested_answer.html.erb 0 → 100644
View
app/views/templates/_add_guidance.html.erb 100644 → 0
View
app/views/templates/_add_question.html.erb 100644 → 0
View
app/views/templates/_add_section.html.erb 100644 → 0
View
app/views/templates/_add_suggested_answer.html.erb 100644 → 0
View
app/views/templates/_admin_nav_tabs.html.erb
View
app/views/templates/_edit_annotations.html.erb
View
app/views/templates/_edit_guidance.html.erb 100644 → 0
View
app/views/templates/_edit_phase.html.erb 100644 → 0
View
app/views/templates/_edit_question.html.erb 100644 → 0
View
app/views/templates/_edit_section.html.erb 100644 → 0
View
app/views/templates/_edit_suggested_answer.html.erb 100644 → 0
View
app/views/templates/_guidance_display.html.erb 100644 → 0
View
app/views/templates/_option_fields.html.erb 100644 → 0
View
app/views/templates/_preview_question.html.erb 100644 → 0
View
app/views/templates/_show_phase.html.erb 100644 → 0
View
app/views/templates/_show_phases_sections.html.erb
View
app/views/templates/_show_question.html.erb 100644 → 0
View
app/views/templates/_show_section.html.erb 100644 → 0
View
app/views/templates/_show_suggested_answer.html.erb 100644 → 0
View
app/views/templates/admin_addphase.html.erb 100644 → 0
View
app/views/templates/admin_phase.html.erb 100644 → 0
View
app/views/templates/admin_previewphase.html.erb 100644 → 0
View
app/views/templates/admin_template.html.erb
View
config/routes.rb