diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb index 43b8fe3..9ad3077 100644 --- a/app/controllers/reports_controller.rb +++ b/app/controllers/reports_controller.rb @@ -1,4 +1,5 @@ class ReportsController < ApplicationController def index + @articles = Article.all end end diff --git a/app/views/reports/index.html.erb b/app/views/reports/index.html.erb index 94ec8e1..ff6ee33 100644 --- a/app/views/reports/index.html.erb +++ b/app/views/reports/index.html.erb @@ -1 +1,9 @@ -