Skip to content
This repository has been archived by the owner on Jun 16, 2019. It is now read-only.

Commit

Permalink
Fix route names, forgotten in previous commits
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoBorzi committed Jul 9, 2015
1 parent 37925a3 commit 8094f00
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
})
->where('id', '[0-9]+');

Route::get('/dbc/maps_wotlk/{id}', function($id) {
Route::get('/dbc/maps/{id}', function($id) {

if (isset($_GET['version']) && $_GET['version'] == 6)
// TODO add maps_wod
Expand Down Expand Up @@ -407,7 +407,7 @@
return Response::json($results);
});

Route::get('/search/dbc/maps_wotlk', function() {
Route::get('/search/dbc/maps', function() {

if ( !isset($_GET['id']) && !isset($_GET['name']) )
return Response::json(array("error" => "please insert at least one parameter"));
Expand All @@ -426,7 +426,7 @@
return Response::json($results);
});

Route::get('/search/dbc/skills_wotlk', function() {
Route::get('/search/dbc/skills', function() {

if ( !isset($_GET['id']) && !isset($_GET['name']) )
return Response::json(array("error" => "please insert at least one parameter"));
Expand Down Expand Up @@ -466,7 +466,7 @@
return Response::json($results);
});

Route::get('/search/dbc/areas_and_zones_wotlk', function() {
Route::get('/search/dbc/areas_and_zones', function() {

if ( !isset($_GET['id']) && !isset($_GET['name']) )
return Response::json(array("error" => "please insert at least one parameter"));
Expand Down

0 comments on commit 8094f00

Please sign in to comment.