Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
Tugas_Laravel_PABWE_2016
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fujiatma Pratama Napitupulu
Tugas_Laravel_PABWE_2016
Commits
cfff7f8e
Commit
cfff7f8e
authored
Nov 26, 2016
by
Tio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tambahan lagi
parent
fdde0451
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
0 deletions
+54
-0
api.php
TugasLaravel/routes/api.php
+18
-0
console.php
TugasLaravel/routes/console.php
+18
-0
web.php
TugasLaravel/routes/web.php
+18
-0
No files found.
TugasLaravel/routes/api.php
0 → 100644
View file @
cfff7f8e
<?php
use
Illuminate\Http\Request
;
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route
::
get
(
'/user'
,
function
(
Request
$request
)
{
return
$request
->
user
();
})
->
middleware
(
'auth:api'
);
TugasLaravel/routes/console.php
0 → 100644
View file @
cfff7f8e
<?php
use
Illuminate\Foundation\Inspiring
;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/
Artisan
::
command
(
'inspire'
,
function
()
{
$this
->
comment
(
Inspiring
::
quote
());
})
->
describe
(
'Display an inspiring quote'
);
TugasLaravel/routes/web.php
0 → 100644
View file @
cfff7f8e
<?php
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of the routes that are handled
| by your application. Just tell Laravel the URIs it should respond
| to using a Closure or controller method. Build something great!
|
*/
Route
::
get
(
'/'
,
function
()
{
return
view
(
'welcome'
);
});
Route
::
resource
(
'identity'
,
'IdentityController'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment