Fix tests

This commit is contained in:
Andreas Nedbal 2022-11-20 19:22:17 +01:00 committed by Andreas Nedbal
parent 9bd9c7af9f
commit d42f1ba0c5
1 changed files with 2 additions and 2 deletions

View File

@ -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