Skip to content

Commit

Permalink
UPDATED MULTIPLE THEME INTEGRATION
Browse files Browse the repository at this point in the history
  • Loading branch information
SaboSuke committed Feb 10, 2021
1 parent c7ddc33 commit 0dabb7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theme/generator/ThemeGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function __construct(){
*/
public static function generateThemeOptions(array $options): string{
$attributes = array_values($options); //array_keys($options);
$map = array_map(fn($attr) => "<li><a class=\"dropdown-item\" target=\"_self\" href=\"/changeTheme?name=$attr\">$attr</a></li>", $attributes);
$map = array_map(fn($attr) => "<li><a class=\"dropdown-item\" target=\"_self\" href=\"/change-theme?name=$attr\">$attr</a></li>", $attributes);
$map = implode('', $map);
return $map;
}
Expand Down

0 comments on commit 0dabb7d

Please # to comment.