Skip to content

Commit 47cc852

Browse files
committed
Add problem calendar route and empty controller files
1 parent 19a7ff8 commit 47cc852

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
class Api::ProblemCalendarController < ApplicationController
2+
end
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module Api::ProblemCalendarHelper
2+
end

src/snapshots-app/config/routes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
get "backup_file_metadata/:course_id/:assignment_id/:user_id", to: "backup_file_metadata#show"
2222
get "summary_statistics/:course_id/:assignment_id/:user_id", to: "summary_statistics#show"
2323
get "problem_timeline/:course_id/:assignment_id/:user_id", to: "problem_timeline#show"
24+
get "problem_calendar/:course_id/:assignment_id/:user_id", to: "problem_calendar#show"
2425

2526
namespace :debugging, defaults: { format: :json } do
2627
get "autograder_spam/:course_id/:assignment_id/:user_id", to: "autograder_spam#show"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
require "test_helper"
2+
3+
class Api::ProblemCalendarControllerTest < ActionDispatch::IntegrationTest
4+
# test "the truth" do
5+
# assert true
6+
# end
7+
end

0 commit comments

Comments
 (0)