Skip to content

Commit

Permalink
corrigindo error de name
Browse files Browse the repository at this point in the history
  • Loading branch information
dsisconeto committed Sep 16, 2017
1 parent 44e8a9b commit ff059d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ciroute.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function generateNames()
$routes = Route::get_routes();
$content = "<?php \n";
foreach ($routes as $route) {
if ($route["name"]) {
if (isset($route["name"])) {
$content .= '$routes_names["'.$route["name"].'"] = "' .$route["route"]."\"; \n";
}
}
Expand Down

0 comments on commit ff059d2

Please sign in to comment.