Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
- Route::get('/', function () {
- return view('welcome');
- });
- Route::get('/contohkesatu', function () {
- return view('contohkesatu');
- });
- Route::get('/contohkedua', function () {
- return view('contohkedua');
- });
- Route::get('/contohtiga', function () {
- return view('contohketiga');
- });
- Route::get('/belajar', 'SiswaController@index');
- Route::get('/kelas', 'KelasController@index');
- Route::get('/contoh', function () {
- echo 'Nah ini adalah contoh ke 1 ya';
- });
- Route::get('/contoh2', function () {
- echo 'Yang selanjutnya contoh ke 2 ok';
- });
- Route::get('/contoh3', function () {
- echo 'Ok Terakhir contoh yang ke 3';
- });
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement