GET /tasks GET /tasks.json
7 8 9
# File 'app/controllers/tasks_controller.rb', line 7 def index @tasks = Task.all end