From d42f1ba0c596048321c72e599d801323c3988f9c Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 20 Nov 2022 19:22:17 +0100 Subject: [PATCH] Fix tests --- app/controllers/admin/announcement_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/announcement_controller.rb b/app/controllers/admin/announcement_controller.rb index 91cab689..3a66c873 100644 --- a/app/controllers/admin/announcement_controller.rb +++ b/app/controllers/admin/announcement_controller.rb @@ -19,7 +19,7 @@ class Admin::AnnouncementController < ApplicationController redirect_to action: :index else flash[:error] = t(".error") - render "announcement/new" + render "admin/announcement/new" end end @@ -35,7 +35,7 @@ class Admin::AnnouncementController < ApplicationController redirect_to announcement_index_path else flash[:error] = t(".error") - render "announcement/edit" + render "admin/announcement/edit" end end