Uninitialized constant “Controller Name”

It should be SchedulesController, not Users::ScheduleController. Controllers should only be namespaced when the route is namespaced with namespace. Controller names should also always be plural.

What you’re creating is a nested resource, not a namespaced one.

Leave a Comment