Last active
August 29, 2015 14:26
-
-
Save FrancisVarga/42711e2a185747c3c4a7 to your computer and use it in GitHub Desktop.
routing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by PhpStorm. | |
* User: francisvarga | |
* Date: 7/21/15 | |
* Time: 12:12 PM | |
*/ | |
Route::get('/', function () { | |
return view('admin.index'); | |
}); | |
Route::group(["prefix" => "admin/api/v1"], function () { | |
Route::post("/login", function () { | |
}); | |
Route::post("/logout", function () { | |
}); | |
Route::post("/signup", function () { | |
}); | |
Route::post("/otp", function () { | |
}); | |
Route::group(["prefix" => "/page"], function () { | |
Route::put("/", function () { | |
}); | |
Route::get("/{pageId}", function () { | |
}); | |
Route::post("/{pageId}", function () { | |
}); | |
Route::delete("/{pageId}", function () { | |
}); | |
Route::put("/{pageId}/body", function () { | |
}); | |
Route::post("/{pageId}/body", function () { | |
}); | |
Route::get("/{pageId}/body", function () { | |
}); | |
Route::delete("/{pageId}/body", function () { | |
}); | |
Route::put("/{pageId}/header", function () { | |
}); | |
Route::post("/{pageId}/header", function () { | |
}); | |
Route::get("/{pageId}/header", function () { | |
}); | |
Route::delete("/{pageId}/header", function () { | |
}); | |
Route::put("/{pageId}/footer", function () { | |
}); | |
Route::post("/{pageId}/footer", function () { | |
}); | |
Route::get("/{pageId}/footer", function () { | |
}); | |
Route::delete("/{pageId}/footer", function () { | |
}); | |
}); | |
Route::group(["prefix" => "/dashboard"], function () { | |
Route::get("/feed", function () { | |
}); | |
Route::get("/promotion", function () { | |
}); | |
}); | |
Route::group(["prefix" => "/menu"], function () { | |
}); | |
Route::group(["prefix" => "/user"], function () { | |
Route::put('/', function () { | |
}); | |
Route::get('/', function () { | |
}); | |
Route::delete('/{userId}', function () { | |
}); | |
Route::post('/{userId}', function () { | |
}); | |
Route::get("/{userId}", function () { | |
}); | |
}); | |
Route::group(["prefix" => "/acl"], function () { | |
}); | |
Route::group(["prefix" => "/media"], function () { | |
Route::put('/', function () { | |
}); | |
Route::get('/', function () { | |
}); | |
Route::delete('/{mediaId}', function () { | |
}); | |
Route::post('/{mediaId}', function () { | |
}); | |
Route::get("/{mediaId}", function () { | |
}); | |
}); | |
Route::group(["prefix" => "/promotions"], function () { | |
}); | |
Route::group(["prefix" => "/logo"], function () { | |
}); | |
Route::group(["prefix" => "/banner"], function () { | |
}); | |
Route::group(["prefix" => "/translation"], function () { | |
}); | |
Route::group(["prefix" => "/game/{gamedType}"], function () { | |
}); | |
Route::group(["prefix" => "/widget"], function () { | |
Route::get("/", function () { | |
}); | |
Route::get("/{widgetType}", function () { | |
}); | |
Route::post("/{widgetType}", function () { | |
}); | |
Route::put("/{widgetType}", function () { | |
}); | |
Route::delete("/{widgetType}", function () { | |
}); | |
}); | |
Route::group(["prefix" => "/operator"], function () { | |
Route::group(["prefix" => "/config"], function () { | |
}); | |
Route::group(["prefix" => "/domain"], function () { | |
}); | |
Route::group(["prefix" => "/config"], function () { | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment