Skip to content

Commit

Permalink
Update namechange of bulk_release (#1518)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhuangwq committed May 12, 2022
1 parent 2f394c6 commit 6934805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/courses/manage.html.erb
Expand Up @@ -53,7 +53,7 @@
{ title: "Use the Stanford Moss server to detect copying" } %></li>

<li class="collection-item red-text danger-bottom no-hover"><h4>Danger Zone</h4></li>
<li class="danger-side"><%= link_to "Release all grades", [:bulkRelease, @course, @cud, :gradebook],
<li class="danger-side"><%= link_to "Release all grades", [:bulk_release, @course, @cud, :gradebook],
{ title: "Release all grades for all assessments", data: {confirm: "Are you sure you want to release all grades?"}} %></li>
<li class="danger-side danger-bottom"><%= link_to "Reload course config file", [:reload, @course],
{ title: "Do this each time your modify the course.rb file", data: {confirm: "Are you sure you want to reload the course config file?"}}%></li>
Expand Down
4 changes: 2 additions & 2 deletions config/routes.rb
Expand Up @@ -188,7 +188,7 @@

resources :course_user_data do
resource :gradebook, only: :show do
get "bulkRelease"
get "bulk_release"
get "csv"
get "invalidate"
get "statistics"
Expand All @@ -204,7 +204,7 @@
end

member do
get "bulkRelease"
get "bulk_release"
get "download_roster"
match "email", via: [:get, :post]
get "manage"
Expand Down

0 comments on commit 6934805

Please sign in to comment.