Skip to content

Instantly share code, notes, and snippets.

@elizabrock
Created May 26, 2015 14:51
Show Gist options
  • Save elizabrock/bed07c4bdf8d7cde7b40 to your computer and use it in GitHub Desktop.
Save elizabrock/bed07c4bdf8d7cde7b40 to your computer and use it in GitHub Desktop.
Courseware Of The Future routes.rb
Prefix Verb URI Pattern Controller#Action
root GET / home#index
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) omniauth_callbacks#passthru {:provider=>/github/}
user_omniauth_callback GET|POST /users/auth/:action/callback(.:format) omniauth_callbacks#(?-mix:github)
new_user_session GET /sign_in(.:format) devise/sessions#new
destroy_user_session DELETE /sign_out(.:format) devise/sessions#destroy
course_assignment_milestone GET /courses/:course_id/assignments/:assignment_id/milestones/:id(.:format) milestones#show
course_assignments GET /courses/:course_id/assignments(.:format) assignments#index
POST /courses/:course_id/assignments(.:format) assignments#create
new_course_assignment GET /courses/:course_id/assignments/new(.:format) assignments#new
edit_course_assignment GET /courses/:course_id/assignments/:id/edit(.:format) assignments#edit
course_assignment GET /courses/:course_id/assignments/:id(.:format) assignments#show
PATCH /courses/:course_id/assignments/:id(.:format) assignments#update
PUT /courses/:course_id/assignments/:id(.:format) assignments#update
course_calendar GET /courses/:course_id/calendar(.:format) courses#show
course_enrollments GET /courses/:course_id/enrollments(.:format) enrollments#index
POST /courses/:course_id/enrollments(.:format) enrollments#create
course_events POST /courses/:course_id/events(.:format) events#create
new_course_event GET /courses/:course_id/events/new(.:format) events#new
GET /courses/:course_id/materials/:material_fullpath/slides(.:format) slides#show {:material_fullpath=>/.*\.md/}
GET /courses/:course_id/materials/:material_fullpath.md/:asset_file(.:format) slides#asset {:material_fullpath=>/.*/}
course_material_slides GET /courses/:course_id/materials/:material_id/slides(.:format) slides#show {:material_id=>/.*/}
course_materials GET /courses/:course_id/materials(.:format) materials#index
course_material GET /courses/:course_id/materials/:id(.:format) materials#show {:id=>/.*/}
course_covered_materials POST /courses/:course_id/covered_materials(.:format) covered_materials#create
course_covered_material PATCH /courses/:course_id/covered_materials/:id(.:format) covered_materials#update
PUT /courses/:course_id/covered_materials/:id(.:format) covered_materials#update
grade_course_quiz GET /courses/:course_id/quizzes/:id/grade(.:format) quizzes#grade
edit_course_quiz_submission GET /courses/:course_id/quizzes/:quiz_id/s/edit(.:format) quiz_submissions#edit
course_quiz_submission GET /courses/:course_id/quizzes/:quiz_id/s(.:format) quiz_submissions#show
PATCH /courses/:course_id/quizzes/:quiz_id/s(.:format) quiz_submissions#update
PUT /courses/:course_id/quizzes/:quiz_id/s(.:format) quiz_submissions#update
course_quizzes POST /courses/:course_id/quizzes(.:format) quizzes#create
new_course_quiz GET /courses/:course_id/quizzes/new(.:format) quizzes#new
edit_course_quiz GET /courses/:course_id/quizzes/:id/edit(.:format) quizzes#edit
course_quiz PATCH /courses/:course_id/quizzes/:id(.:format) quizzes#update
PUT /courses/:course_id/quizzes/:id(.:format) quizzes#update
courses GET /courses(.:format) courses#index
POST /courses(.:format) courses#create
new_course GET /courses/new(.:format) courses#new
edit_course GET /courses/:id/edit(.:format) courses#edit
course GET /courses/:id(.:format) courses#show
PATCH /courses/:id(.:format) courses#update
PUT /courses/:id(.:format) courses#update
new_enrollment GET /enrollment/new(.:format) enrollments#new
irc GET /irc(.:format) irc#show
milestone_submissions POST /milestone_submissions(.:format) milestone_submissions#create
edit_question_grade GET /question_grades/:id/edit(.:format) question_grades#edit
question_grade PATCH /question_grades/:id(.:format) question_grades#update
PUT /question_grades/:id(.:format) question_grades#update
read_materials POST /read_materials(.:format) read_materials#create
self_reports GET /self_reports(.:format) self_reports#index
POST /self_reports(.:format) self_reports#create
new_self_report GET /self_reports/new(.:format) self_reports#new
edit_self_report GET /self_reports/:id/edit(.:format) self_reports#edit
self_report GET /self_reports/:id(.:format) self_reports#show
PATCH /self_reports/:id(.:format) self_reports#update
PUT /self_reports/:id(.:format) self_reports#update
instructify_user POST /users/:id/instructify(.:format) users#instructify
observify_user POST /users/:id/observify(.:format) users#observify
users GET /users(.:format) users#index
POST /users(.:format) users#create
new_user GET /users/new(.:format) users#new
edit_user GET /users/:id/edit(.:format) users#edit
user GET /users/:id(.:format) users#show
PATCH /users/:id(.:format) users#update
PUT /users/:id(.:format) users#update
destudentify_instructor POST /instructor/destudentify(.:format) instructors#destudentify
studentify_instructor POST /instructor/studentify(.:format) instructors#studentify
GET /theme/css/:filename(.:format) redirect(301)
GET /js/*filename(.:format) redirect(301)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment