diff --git a/app/controllers/charts_controller.rb b/app/controllers/charts_controller.rb index 126bff3..6c17412 100644 --- a/app/controllers/charts_controller.rb +++ b/app/controllers/charts_controller.rb @@ -1,6 +1,4 @@ class ChartsController < ApplicationController def index - @tarefa = Task.first - render partial: 'charts/index' end end \ No newline at end of file diff --git a/app/views/charts/_index.html.erb b/app/views/charts/_index.html.erb index 2729235..8bc5a4f 100644 --- a/app/views/charts/_index.html.erb +++ b/app/views/charts/_index.html.erb @@ -1,7 +1 @@ -

Conteúdo da Segunda Aba

-

Esta é a view renderizada pelo ChartsController.

- -<%= tarefa.title %> -<%= tarefa.description %> -<%= tarefa.category.name %> -<%= tarefa.hours %> \ No newline at end of file +

Conteúdo da Segunda Aba

\ No newline at end of file