diff --git a/app/controllers/api/v0/guidance_groups_controller.rb b/app/controllers/api/v0/guidance_groups_controller.rb index 29ee861..f28b642 100644 --- a/app/controllers/api/v0/guidance_groups_controller.rb +++ b/app/controllers/api/v0/guidance_groups_controller.rb @@ -24,7 +24,7 @@ # check if the user has permission to use the guidances api if has_auth("guidance") # determine if they have authorization to view this guidance group - if GuidanceGroup.can_view(@user, params[:id]) + if GuidanceGroup.can_view?(@user, params[:id]) respond_with get_resource else render json: I18n.t("api.bad_resource"), status: 401