Remove unneeded for_render

for_render does is including organizations and there is no need to
 render organizations on these controllers
This commit is contained in:
taitus
2020-12-02 09:50:24 +01:00
committed by Javi Martín
parent 6a46f68fa6
commit 9521d87d03
4 changed files with 0 additions and 4 deletions

View File

@@ -9,7 +9,6 @@ class Admin::AdministratorsController < Admin::BaseController
@users = User.search(params[:search])
.includes(:administrator)
.page(params[:page])
.for_render
end
def create