Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
2d9b6958
Commit
2d9b6958
authored
Apr 21, 2015
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify opening routes.
parent
111fdeba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
36 deletions
+3
-36
WelcomeController.php
app/Http/Controllers/WelcomeController.php
+0
-35
routes.php
app/Http/routes.php
+3
-1
No files found.
app/Http/Controllers/WelcomeController.php
deleted
100644 → 0
View file @
111fdeba
<?php
namespace
App\Http\Controllers
;
class
WelcomeController
extends
Controller
{
/*
|--------------------------------------------------------------------------
| Welcome Controller
|--------------------------------------------------------------------------
|
| This controller renders the "marketing page" for the application and
| is configured to only allow guests. Like most of the other sample
| controllers, you are free to modify or remove it as you desire.
|
*/
/**
* Create a new controller instance.
*
* @return void
*/
public
function
__construct
()
{
$this
->
middleware
(
'guest'
);
}
/**
* Show the application welcome screen to the user.
*
* @return Response
*/
public
function
index
()
{
return
view
(
'welcome'
);
}
}
app/Http/routes.php
View file @
2d9b6958
...
...
@@ -11,4 +11,6 @@
|
*/
Route
::
get
(
'/'
,
'WelcomeController@index'
);
Route
::
get
(
'/'
,
function
()
{
return
view
(
'welcome'
);
});
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