change deprecated render :text to render :plain in rails 5

This commit is contained in:
chiu 2023-09-20 00:07:58 +00:00
parent bffe78ed13
commit 60f18fef2b
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class Admin::FeedsController < OrbitAdminController
end
end
end
render :text => 'success'
render :plain => 'success'
end
def announcements
@filter_fields = {}