diff --git a/app/assets/images/resources/qpa/a_national_movement_for_a_new_accountability.png b/app/assets/images/resources/qpa/a_national_movement_for_a_new_accountability.png new file mode 100644 index 0000000..2f561d1 Binary files /dev/null and b/app/assets/images/resources/qpa/a_national_movement_for_a_new_accountability.png differ diff --git a/app/assets/images/resources/qpa/its_high_time_for_change_in_our_accountability_systems.png b/app/assets/images/resources/qpa/its_high_time_for_change_in_our_accountability_systems.png new file mode 100644 index 0000000..09270a8 Binary files /dev/null and b/app/assets/images/resources/qpa/its_high_time_for_change_in_our_accountability_systems.png differ diff --git a/app/assets/images/resources/qpa/keeping_our_accountability_systems_accountable.png b/app/assets/images/resources/qpa/keeping_our_accountability_systems_accountable.png new file mode 100644 index 0000000..e41f595 Binary files /dev/null and b/app/assets/images/resources/qpa/keeping_our_accountability_systems_accountable.png differ diff --git a/app/assets/images/resources/qpa/piloting_the_use_of_learning_progressions_in_a_system_of_assessment.png b/app/assets/images/resources/qpa/piloting_the_use_of_learning_progressions_in_a_system_of_assessment.png new file mode 100644 index 0000000..118535a Binary files /dev/null and b/app/assets/images/resources/qpa/piloting_the_use_of_learning_progressions_in_a_system_of_assessment.png differ diff --git a/app/assets/images/resources/qpa/reimagining_mcas_policy.png b/app/assets/images/resources/qpa/reimagining_mcas_policy.png new file mode 100644 index 0000000..8d3c967 Binary files /dev/null and b/app/assets/images/resources/qpa/reimagining_mcas_policy.png differ diff --git a/app/assets/images/resources/sqm/adding_student_voice_to_the_mix.png b/app/assets/images/resources/sqm/adding_student_voice_to_the_mix.png new file mode 100644 index 0000000..3948c79 Binary files /dev/null and b/app/assets/images/resources/sqm/adding_student_voice_to_the_mix.png differ diff --git a/app/assets/images/resources/sqm/beyond_good_and_bad.png b/app/assets/images/resources/sqm/beyond_good_and_bad.png new file mode 100644 index 0000000..87db054 Binary files /dev/null and b/app/assets/images/resources/sqm/beyond_good_and_bad.png differ diff --git a/app/assets/images/resources/sqm/beyond_standardized_tests.png b/app/assets/images/resources/sqm/beyond_standardized_tests.png new file mode 100644 index 0000000..7ad52c5 Binary files /dev/null and b/app/assets/images/resources/sqm/beyond_standardized_tests.png differ diff --git a/app/assets/images/resources/sqm/the_mis_measure_of_schools.png b/app/assets/images/resources/sqm/the_mis_measure_of_schools.png new file mode 100644 index 0000000..265e800 Binary files /dev/null and b/app/assets/images/resources/sqm/the_mis_measure_of_schools.png differ diff --git a/app/controllers/research_controller.rb b/app/controllers/research_controller.rb index c61d91e..0182f7e 100644 --- a/app/controllers/research_controller.rb +++ b/app/controllers/research_controller.rb @@ -5,6 +5,6 @@ class ResearchController < ApplicationController def download_pdf - send_file "#{Rails.root}/public/docs/#{params[:path]}.pdf", type: "application/pdf", x_sendfile: true + send_file "#{Rails.root}/public/docs/research/#{params[:path]}.pdf", type: "application/pdf", x_sendfile: true end end diff --git a/app/controllers/resource_controller.rb b/app/controllers/resource_controller.rb index 9156802..ea2b5c4 100644 --- a/app/controllers/resource_controller.rb +++ b/app/controllers/resource_controller.rb @@ -1,5 +1,7 @@ class ResourceController < ApplicationController - def index + def index; end + def download_pdf + send_file "#{Rails.root}/public/docs/resources/#{params[:path]}.pdf", type: 'application/pdf', x_sendfile: true end end diff --git a/app/views/resource/index.html.erb b/app/views/resource/index.html.erb index 7cf0664..cae5f83 100644 --- a/app/views/resource/index.html.erb +++ b/app/views/resource/index.html.erb @@ -17,11 +17,11 @@