diff --git a/app/controllers/assignments/toggles_controller.rb b/app/controllers/assignments_controller.rb similarity index 93% rename from app/controllers/assignments/toggles_controller.rb rename to app/controllers/assignments_controller.rb index 96d510baa..554d86850 100644 --- a/app/controllers/assignments/toggles_controller.rb +++ b/app/controllers/assignments_controller.rb @@ -1,4 +1,4 @@ -class Assignments::TogglesController < ApplicationController +class AssignmentsController < ApplicationController include BubbleScoped, BucketScoped def new diff --git a/app/views/bubbles/_assignment.html.erb b/app/views/bubbles/_assignment.html.erb index 2d6914591..7c6071a25 100644 --- a/app/views/bubbles/_assignment.html.erb +++ b/app/views/bubbles/_assignment.html.erb @@ -3,7 +3,7 @@ Assign this to… - <%= form_with url: bucket_bubble_assignment_toggles_path(bubble.bucket, bubble), class: "flex flex-column full-width popup__list", data: { controller: "form" } do |form| %> + <%= form_with url: bucket_bubble_assignments_path(bubble.bucket, bubble), class: "flex flex-column full-width popup__list", data: { controller: "form" } do |form| %> <% bubble.bucket.users.active.sort_by(&:name).each do |user| %>