From 179e72bfb908bd67d9e91f0d1297f966c9ade8ce Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Thu, 11 Nov 2021 09:01:42 +0100 Subject: [PATCH] Changed the directory of the render functions to "components" --- application/helpers/render_helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/helpers/render_helper.php b/application/helpers/render_helper.php index d101fef5..bb2d95d9 100644 --- a/application/helpers/render_helper.php +++ b/application/helpers/render_helper.php @@ -26,7 +26,7 @@ function render_timezone_dropdown(string $attributes = ''): string $timezones = $CI->timezones->to_grouped_array(); - return $CI->load->view('partials/timezone_dropdown', [ + return $CI->load->view('components/timezone_dropdown', [ 'timezones' => $timezones, 'attributes' => $attributes ], TRUE); @@ -43,7 +43,7 @@ function render_language_script(string $attributes = ''): string { $CI = get_instance(); - return $CI->load->view('partials/language_script', [ + return $CI->load->view('components/language_script', [ 'attributes' => $attributes ], TRUE); } @@ -59,7 +59,7 @@ function render_global_variables_script(string $attributes = ''): string { $CI = get_instance(); - return $CI->load->view('partials/global_variables_script', [ + return $CI->load->view('components/global_variables_script', [ 'attributes' => $attributes ], TRUE); }